firefly-iii/docker-compose.yml
2019-08-04 08:01:13 +02:00

38 lines
846 B
YAML

---
networks:
firefly_iii_net:
driver: bridge
services:
firefly_iii_app:
image: jc5x/firefly-iii:develop
depends_on:
- firefly_iii_db
networks:
- firefly_iii_net
ports:
- "80:80"
env_file: docker-variables.txt
volumes:
-
source: firefly_iii_export
target: /var/www/firefly-iii/storage/export
type: volume
-
source: firefly_iii_upload
target: /var/www/firefly-iii/storage/upload
type: volume
firefly_iii_db:
image: "postgres:10"
environment:
- POSTGRES_PASSWORD=secret_firefly_password
- POSTGRES_USER=firefly
networks:
- firefly_iii_net
volumes:
- firefly_iii_db:/var/lib/postgresql/data
version: "3.2"
volumes:
firefly_iii_db: ~
firefly_iii_export: ~
firefly_iii_upload: ~