47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
version: '3.3'
|
|
|
|
services:
|
|
app:
|
|
image: fireflyiii/core:latest
|
|
hostname: app
|
|
container_name: firefly_iii_core
|
|
restart: always
|
|
volumes:
|
|
- /data/share/firefly:/var/www/html/storage/upload
|
|
- /run/mysqld/mysqld.sock:/var/run/mysqld/mysqld.sock
|
|
env_file: .env
|
|
networks:
|
|
- firefly_iii
|
|
ports:
|
|
- 8088:8080
|
|
importer:
|
|
image: fireflyiii/data-importer:latest
|
|
hostname: importer
|
|
restart: unless-stopped
|
|
container_name: firefly_iii_importer
|
|
networks:
|
|
- firefly_iii
|
|
ports:
|
|
- 8188:8080
|
|
depends_on:
|
|
- app
|
|
env_file: .importer.env
|
|
volumes:
|
|
- /data/share/ff_import:/import
|
|
|
|
cron:
|
|
#
|
|
# To make this work, set STATIC_CRON_TOKEN in your .env file or as an environment variable and replace REPLACEME below
|
|
# The STATIC_CRON_TOKEN must be *exactly* 32 characters long
|
|
#
|
|
image: alpine
|
|
restart: always
|
|
container_name: firefly_iii_cron
|
|
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/entokenlikenannantokenmenutantec\" | crontab - && crond -f -L /dev/stdout"
|
|
networks:
|
|
- firefly_iii
|
|
|
|
networks:
|
|
firefly_iii:
|
|
driver: bridge
|