Running peach-web for luandro's balena deployment #133
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
in order to do this, we need to get peach-web to run within a docker container that is also running go-sbot.
today, I got one version of this working, but its still a WIP.
I have learned that supervisord is not recommended to use with yunohost (https://forum.yunohost.org/t/yunohost-package-with-supervisord/20384) and that systemd is not recommended to use with docker.
In this branch I created a version of peach-web which uses a config flag "SYSTEM_MANAGER" (set to either "systemd" or "supervisord"), which makes the correct calls appropriately based on this configuration.
I've got this working except for a few things which are in systemd and seem to be missing from supervisord:
alternatively, we could use initv, which might make the code simpler, since we coudl use initv on debian, in yunohost and in docker, but its a bit more unwieldy to work with than systemd or supervisord.
I'm happy that the branch I made provides a working version though that could be used.
and here is the PR with the dockerfile I've been working on
https://gitlab.com/coletivo-coolab/ssb-go-pub/-/merge_requests/1/diffs
Amazing stuff, opened up https://github.com/ssbc/go-ssb/issues/210 for tracking an upstream image.