run web services on purr via docker-compose.
this repo is meant to be cloned into /root/purr.services
-- this path is hardcoded into the .env
file.
# git clone [email protected]:Moomers/purr.services.git /root/purr.services
after cloning, run install.sh
to set up the systemd service, called compose
.
$ cd ~/repos/compose.services
$ ./install.sh
to create the postgres user/pw/db, run the init script:
# docker compose exec postgres.purr /init_scripts/authentik_db.sh
likewise for synapse:
# docker compose exec postgres.purr /init_scripts/synapse_db.sh
control the service with systemctl
:
$ systemctl --user <status|start|stop|reload> compose
to view logs, use journalctl
:
$ journalctl --user -f -u compose