scripts to startup all docker containers defined via in docker-compose.yml for a specific host

toastie89 67fe8a289f added example 1 year ago
conf 67fe8a289f added example 1 year ago
README.md 20443dda32 initial 1 year ago
startup-containers.service 20443dda32 initial 1 year ago
startup.sh 20443dda32 initial 1 year 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.

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

cp startup-containers.service /etc/systemd/system/
systemctl enable startup-containers.service