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

Toastie 44fd51561d added reference to docker daemon 5 months ago
conf 67fe8a289f added example 5 months ago
README.md 44fd51561d added reference to docker daemon 5 months ago
container-startup.service e150e6b04a renamed startup service 5 months ago
startup.sh 48fd29c729 addded missing subdir 5 months ago

README.md

Docker startup helper scripts

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

container-startup.service is a oneshot systemd service which runs startup.sh up after boot. Stop/restart are explicitely not part of the service as those actions are handled by the docker daemon.

To install the service run:

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