New Installation of Firefly-III (finance....)

This commit is contained in:
Florian Zirker 2021-12-10 14:08:34 +01:00
parent 7c946ebbfc
commit e0acde97c2

View file

@ -2,28 +2,29 @@ version: "3.3"
services:
fireflyiii:
image: jc5x/firefly-iii:latest
image: fireflyiii/core:latest
volumes:
- ${VOLUMES_PATH}/firefly_upload:/var/www/html/storage/upload
env_file: .env
ports:
- 8087:8080
- ${VOLUMES_PATH}/finance/upload:/var/www/html/storage/upload
networks:
- web
- finance
env_file: .env
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"
- "traefik.docker.network=web"
- "docker.group=firefly"
depends_on:
- db
restart: unless-stopped
db:
image: yobasystems/alpine-mariadb:latest
image: linuxserver/mariadb:latest
networks:
- finance
environment:
@ -32,7 +33,7 @@ services:
- MYSQL_PASSWORD=${DB_PASSWORD}
- MYSQL_DATABASE=${DB_DATABASE}
volumes:
- ${VOLUMES_PATH}/firefly_db:/var/lib/mysql
- ${VOLUMES_PATH}/firefly/db:/var/lib/mysql
labels:
- "docker.group=finance"
restart: unless-stopped