This sample is intended for modern Linux systems using systemd (Fedora, Ubuntu, Arch, etc).
Install the files in this gist, replacing dashes for slashes (e.g. etc-systemd-system-dockercompose.service should be installed to /etc/systemd/system/dockercompose.service) and then run systemctl enable --now dockercompose.service
to get things started.
Any manual docker-compose
commands should be run from /srv/appdata/linuxserver
so that the values from the .env
file are applied properly.
Log files can be viewed by running docker-compose -f --tail=50
.
Container images can be updated by running docker-compose pull --parallel
.
The service references
docker-compose.yml
, but you have the file name asdocker-compose.yaml