run services via docker-compose and traefik.
clone the repo:
$ git clone [email protected]:igor47/services.git igor.servicesafter cloning, run just install to set up the systemd service, called compose.
control the service with systemctl:
$ systemctl --user <status|start|stop> composeother commands are available via just.
for instance, to view logs, use just logs:
init is available via init scripts.
run just postgres-init to create all dbs and users.
if you want a shell in postgres:
$ docker compose exec -it igor.postgres /bin/bashwe should back up the postgres db somehow...
configuration comes from here. don't forget to change the default password.