WIP: Merged docker files and install script from bk-dep and c4 docker

This commit is contained in:
Patrick Skowronek
2021-12-21 09:12:34 +01:00
parent 78a78eecaa
commit c683bb76bc
16 changed files with 1607 additions and 0 deletions

View File

@ -0,0 +1,19 @@
[Unit]
Description=Traefik Service
Requires=docker.service
After=docker.service
[Service]
Restart=always
RestartSec=30
WorkingDirectory=/srv/docker/bridgehead
ExecStartPre=/usr/local/bin/docker-compose --env-file site-config/start.env down
ExecStartPre=/usr/local/bin/docker-compose --env-file site-config/start.env rm
ExecStart=/usr/local/bin/docker-compose --env-file site-config/start.env up
ExecStop=/usr/local/bin/docker-compose --env-file site-config/start.env down
[Install]
WantedBy=multi-user.target