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.
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.