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

toastie89 20443dda32 initial 5 months ago
conf 20443dda32 initial 5 months ago
README.md 20443dda32 initial 5 months ago
startup-containers.service 20443dda32 initial 5 months ago
startup.sh 20443dda32 initial 5 months 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