[firefly] Add restart
This commit is contained in:
parent
6c78f40d20
commit
9cfe912da1
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ version: '3.3'
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: fireflyiii/core:${firefly_version:-latest}
|
image: fireflyiii/core:${firefly_version:-latest}
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- firefly_iii_upload:/var/www/html/storage/upload
|
- firefly_iii_upload:/var/www/html/storage/upload
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
@ -22,6 +23,7 @@ services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:${postgres_version:-14}
|
image: postgres:${postgres_version:-14}
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=firefly
|
- POSTGRES_USER=firefly
|
||||||
- POSTGRES_PASSWORD=firefly
|
- POSTGRES_PASSWORD=firefly
|
||||||
|
@ -33,12 +35,14 @@ services:
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
image: alpine
|
image: alpine
|
||||||
|
restart: unless-stopped
|
||||||
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/${STATIC_CRON_TOKEN:-SomeRandomStringOf32CharsExactly}\" | crontab - && crond -f -L /dev/stdout"
|
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/${STATIC_CRON_TOKEN:-SomeRandomStringOf32CharsExactly}\" | crontab - && crond -f -L /dev/stdout"
|
||||||
networks:
|
networks:
|
||||||
- firefly
|
- firefly
|
||||||
|
|
||||||
fints-importer:
|
fints-importer:
|
||||||
image: benkl/firefly-iii-fints-importer
|
image: benkl/firefly-iii-fints-importer
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- importer-configurations:/app/configurations
|
- importer-configurations:/app/configurations
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue