remove the cron container for firefly
wasn't able to get it working
This commit is contained in:
parent
e5b09069e4
commit
f2086483fc
|
@ -1,5 +1,4 @@
|
||||||
APP_DOMAIN=firefly.zweili.org
|
APP_DOMAIN=firefly.zweili.org
|
||||||
CRON_TOKEN=token
|
|
||||||
|
|
||||||
# You can leave this on "local". If you change it to production most console commands will ask for extra confirmation.
|
# You can leave this on "local". If you change it to production most console commands will ask for extra confirmation.
|
||||||
# Never set it to "testing".
|
# Never set it to "testing".
|
||||||
|
|
|
@ -32,6 +32,3 @@ services:
|
||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/var/lib/postgresql/data
|
- ./db:/var/lib/postgresql/data
|
||||||
cron:
|
|
||||||
image: alpine
|
|
||||||
command: sh -c "echo \"0 3 * * * wget https://firefly.zweili.org/cron/run/${CRON_TOKEN}\" | crontab - && crond -f -L /dev/stdout"
|
|
||||||
|
|
Reference in New Issue