systemd docker compose startup helper

toastie89 e150e6b04a renamed startup service 2 years ago
conf 67fe8a289f added example 2 years ago
README.md e150e6b04a renamed startup service 2 years ago
container-startup.service e150e6b04a renamed startup service 2 years ago
startup.sh 20443dda32 initial 2 years ago

README.md

Docker startup helper scripts

startup.sh starts/stops/pulls all containers expected to run on the current host. The script expects a list of absolut paths to docker-compose.yml files in /opt/docker/startup/$HOSTNAME.

container-startups.service is a oneshot systemd service which runs startup.sh up. To install the service run:

cp container-startups.service /etc/systemd/system/
systemctl enable container-startups.service