Firefly III - Finance manager
This commit is contained in:
parent
e8e8b79de8
commit
214c6a6907
1 changed files with 44 additions and 0 deletions
44
finance/docker-compose.yaml
Normal file
44
finance/docker-compose.yaml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
version: "3.3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
fireflyiii:
|
||||||
|
image: jc5x/firefly-iii:latest
|
||||||
|
volumes:
|
||||||
|
- ${VOLUMES_PATH}/firefly_upload:/var/www/html/storage/upload
|
||||||
|
env_file: .env
|
||||||
|
ports:
|
||||||
|
- 8087:8080
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
- finance
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.firefly.rule=Host(`finance.${DOMAIN}`)"
|
||||||
|
- "traefik.http.routers.firefly.entrypoints=web"
|
||||||
|
- "traefik.http.services.firefly.loadbalancer.server.port=8080"
|
||||||
|
- "docker.group=finance"
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: yobasystems/alpine-mariadb:latest
|
||||||
|
networks:
|
||||||
|
- finance
|
||||||
|
environment:
|
||||||
|
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
|
- MYSQL_USER=${DB_USERNAME}
|
||||||
|
- MYSQL_PASSWORD=${DB_PASSWORD}
|
||||||
|
- MYSQL_DATABASE=${DB_DATABASE}
|
||||||
|
volumes:
|
||||||
|
- ${VOLUMES_PATH}/firefly_db:/var/lib/mysql
|
||||||
|
labels:
|
||||||
|
- "docker.group=finance"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
finance:
|
||||||
|
web:
|
||||||
|
external: true
|
Loading…
Reference in a new issue