changed docker-compose.yaml, added build command and restart unless stopped
This commit is contained in:
parent
da357aa7de
commit
7576409332
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user