changed docker-compose.yaml, added build command and restart unless stopped

This commit is contained in:
hobbyadmin 2024-08-22 20:13:02 +02:00
parent da357aa7de
commit 7576409332

View File

@ -1,5 +1,10 @@
services:
thekendienstbot:
build:
context: ../
dockerfile: docker/DockerFile
image: thekendienstbot:latest
container_name: thekendienstbot
environment:
@ -8,4 +13,4 @@ services:
- /home/hobbyadmin/ThekendienstBot/cfg/:/app/cfg/
- /home/hobbyadmin/ThekendienstBot/src/reportMissingThekendienst.py:/app/reportMissingThekendienst.py
- /home/hobbyadmin/ThekendienstBot/docker/crontab:/etc/cron.d/crontab
restart: unless-stopped