From 28b35f54f215be810020a543769b1294dcb136d2 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 11 Nov 2022 14:16:39 -0800 Subject: hedgedoc/podman setup --- adze_extras/README.md | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3