add a cron container to firefly

This commit is contained in:
Andreas Zweili 2020-05-10 10:12:59 +02:00
parent 994bbd930d
commit a16676b453
1 changed files with 3 additions and 0 deletions

View File

@ -32,3 +32,6 @@ services:
- POSTGRES_PASSWORD=${DB_PASSWORD}
volumes:
- ./db:/var/lib/postgresql/data
cron:
image: alpine
command: sh -c "echo \"0 3 * * * wget https://firefly.zweili.org/cron/run/<TOKEN>\" | crontab - && crond -f -L /dev/stdout"