systemd docker compose startup helper

Toastie 935fadf5be initial 5 ヶ月 前
.gitignore 85b8cb63b6 removed hostname 2 年 前
README.md 6070da5792 changed headline 6 ヶ月 前
container-startup.service e150e6b04a renamed startup service 2 年 前
get-volume-sizes.sh db944755d8 initial 1 年間 前
icon.jpg 935fadf5be initial 5 ヶ月 前
install-service.sh 7430f342e3 chmod a+x 6 ヶ月 前
services.conf.template 85b8cb63b6 removed hostname 2 年 前
startup.sh 07d52d2b90 exit 0 when no configuration exists 6 ヶ月 前

README.md

systemd docker compose startup helper

  • startup.sh runs docker compose for a list of services to bring containers up/down or to pull images.
  • container-startup.service is a one-shot systemd service which runs startup.sh up after boot as soon as the docker service is ready. Stop and restart are explicitly not part of the service, as those actions are handled by the docker daemon.

Configuration and Setup

  • Copy the template and add absolute paths to your docker-compose.yml files:
    • cp services.conf.template services.conf
  • Install the service:
    • ./install-service.sh