infrastructure/firefly3/docker-compose.yml

63 lines
1.4 KiB
YAML
Raw Normal View History

2022-03-19 20:02:37 +01:00
version: '3.3'
services:
app:
image: fireflyiii/core:${firefly_version:-latest}
2022-03-23 10:01:32 +01:00
restart: unless-stopped
2022-03-19 20:02:37 +01:00
volumes:
- firefly_iii_upload:/var/www/html/storage/upload
env_file: .env
environment:
- APP_KEY=${APP_KEY:-SomeRandomStringOf32CharsExactly}
- MAIL_PASSWORD=${MAIL_PASSWORD:-null}
- STATIC_CRON_TOKEN=${STATIC_CRON_TOKEN:-SomeRandomStringOf32CharsExactly}
depends_on:
- db
networks:
- firefly
2022-03-19 21:09:54 +01:00
- db
2022-10-09 15:03:08 +02:00
- smtp_relay
ports:
- 127.0.0.1:8081:8080
2022-03-19 20:02:37 +01:00
db:
image: postgres:${postgres_version:-14}
2022-03-23 10:01:32 +01:00
restart: unless-stopped
2022-03-19 20:02:37 +01:00
environment:
- POSTGRES_USER=firefly
- POSTGRES_PASSWORD=firefly
- POSTGRES_DB=firefly
volumes:
- firefly_iii_db:/var/lib/postgresql/data
networks:
2022-03-19 21:09:54 +01:00
- db
2022-03-19 20:02:37 +01:00
cron:
image: alpine
2022-03-23 10:01:32 +01:00
restart: unless-stopped
2022-03-19 20:02:37 +01:00
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:
- firefly
2022-03-19 21:09:54 +01:00
fints-importer:
image: benkl/firefly-iii-fints-importer
2022-03-23 10:01:32 +01:00
restart: unless-stopped
2022-03-19 21:09:54 +01:00
volumes:
- importer-configurations:/app/configurations
ports:
- 8080:8080
networks:
- firefly
2022-03-19 20:02:37 +01:00
volumes:
firefly_iii_upload:
firefly_iii_db:
2022-03-19 21:09:54 +01:00
importer-configurations:
2022-03-19 20:02:37 +01:00
networks:
firefly:
2022-03-19 21:16:10 +01:00
db:
2022-10-09 15:03:08 +02:00
smtp_relay:
external:
name: smtp_relay