Make TZ, LOG_LEVEL, LOG_JSON configurable

This commit is contained in:
3wc 2022-10-26 14:44:33 -04:00
parent f1045c1863
commit 9d1fbc25f0
2 changed files with 7 additions and 3 deletions

View File

@ -1 +1,5 @@
RECIPE=swarm-cronjob
TZ=UTC
LOG_LEVEL=info
LOG_JSON=false

View File

@ -3,9 +3,9 @@ services:
app:
image: "crazymax/swarm-cronjob:1.9.0"
environment:
- TZ=Europe/Amsterdam
- LOG_LEVEL=info
- LOG_JSON=false
- TZ
- LOG_LEVEL
- LOG_JSON
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
deploy: