scripts to startup all docker containers defined via in docker-compose.yml for a specific host
![]() |
6 months ago | |
---|---|---|
conf | 6 months ago | |
README.md | 6 months ago | |
startup-containers.service | 6 months ago | |
startup.sh | 6 months ago |
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