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.servicesafter cloning, run install.sh to set up the systemd service, called compose.
$ cd ~/repos/compose.services
$ ./install.shto create the postgres user/pw/db, run the init script:
# docker compose exec postgres.purr /init_scripts/authentik_db.shlikewise for synapse:
# docker compose exec postgres.purr /init_scripts/synapse_db.shcontrol the service with systemctl:
$ systemctl --user <status|start|stop|reload> composeto view logs, use journalctl:
$ journalctl --user -f -u compose