aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-11-11 14:16:39 -0800
committerBryan Newbold <bnewbold@archive.org>2022-11-11 14:17:15 -0800
commit28b35f54f215be810020a543769b1294dcb136d2 (patch)
tree2b7ddbc5c3f07f9e1ba3284f835ed7a8a8c98ff6
parent8d07fbff691dbdc7d4265c6d301bb17bc59f65b2 (diff)
downloadinfra-28b35f54f215be810020a543769b1294dcb136d2.tar.gz
infra-28b35f54f215be810020a543769b1294dcb136d2.zip
hedgedoc/podman setup
-rw-r--r--adze_extras/README.md39
1 files changed, 38 insertions, 1 deletions
diff --git a/adze_extras/README.md b/adze_extras/README.md
index 84d4eda..e1f8d0a 100644
--- a/adze_extras/README.md
+++ b/adze_extras/README.md
@@ -14,4 +14,41 @@ These are things i've manually configured on adze, not using ansible
=> copied all directory contents
=> easy!
- installed docker (via apt) and docker-compose (via binary)
-- miniflux (rss reader; used docker-compose)
+ => but as of 2022-09-13 this is broken
+- miniflux (rss reader; golang)
+ => was previously in docker, now isn't
+
+---
+
+trying to use podman, instead of docker, on debian bullseye/stable
+
+follow: https://thesynack.com/posts/docker-compose-podman/
+
+didn't un-install docker, instead just installed 'podman' package (3.0+, in
+debian bullseye/stable), then:
+
+ sudo apt install podman runc
+
+ sudo systemctl disable --now docker.service docker.socket
+ sudo systemctl enable --now podman.service podman.socket
+
+check that podman is working:
+
+ sudo curl -v --unix-socket /run/podman/podman.sock http://localhost/_ping
+
+try a docker-compose thing:
+
+ sudo DOCKER_HOST=unix:///run/podman/podman.sock docker-compose up -d
+
+
+follow these
+
+for some reason, `dnsmasq-base` was required but not installed?
+
+couldn't figure out docker-compose + podman DNS stuff. gave up and hardcoded IP addresses; this will probably break.
+
+need to use `sudo` with podman (for now, at least)
+
+---
+
+podman pull quay.io/hedgedoc/hedgedoc