systemd docker compose startup helper

admin a27b77c6bf fixed typo 2 年 前
conf 67fe8a289f added example 2 年 前
README.md a27b77c6bf fixed typo 2 年 前
container-startup.service e150e6b04a renamed startup service 2 年 前
startup.sh 48fd29c729 addded missing subdir 2 年 前

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/conf/$HOSTNAME.

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

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