New Installation of Firefly-III (finance....)
This commit is contained in:
parent
7c946ebbfc
commit
e0acde97c2
1 changed files with 9 additions and 8 deletions
|
@ -2,28 +2,29 @@ version: "3.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
|
||||||
fireflyiii:
|
fireflyiii:
|
||||||
image: jc5x/firefly-iii:latest
|
image: fireflyiii/core:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/firefly_upload:/var/www/html/storage/upload
|
- ${VOLUMES_PATH}/finance/upload:/var/www/html/storage/upload
|
||||||
env_file: .env
|
|
||||||
ports:
|
|
||||||
- 8087:8080
|
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
- finance
|
- finance
|
||||||
|
env_file: .env
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.firefly.rule=Host(`finance.${DOMAIN}`)"
|
- "traefik.http.routers.firefly.rule=Host(`finance.${DOMAIN}`)"
|
||||||
- "traefik.http.routers.firefly.entrypoints=web"
|
- "traefik.http.routers.firefly.entrypoints=web"
|
||||||
- "traefik.http.services.firefly.loadbalancer.server.port=8080"
|
- "traefik.http.services.firefly.loadbalancer.server.port=8080"
|
||||||
- "docker.group=finance"
|
- "traefik.docker.network=web"
|
||||||
|
- "docker.group=firefly"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: yobasystems/alpine-mariadb:latest
|
image: linuxserver/mariadb:latest
|
||||||
networks:
|
networks:
|
||||||
- finance
|
- finance
|
||||||
environment:
|
environment:
|
||||||
|
@ -32,7 +33,7 @@ services:
|
||||||
- MYSQL_PASSWORD=${DB_PASSWORD}
|
- MYSQL_PASSWORD=${DB_PASSWORD}
|
||||||
- MYSQL_DATABASE=${DB_DATABASE}
|
- MYSQL_DATABASE=${DB_DATABASE}
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/firefly_db:/var/lib/mysql
|
- ${VOLUMES_PATH}/firefly/db:/var/lib/mysql
|
||||||
labels:
|
labels:
|
||||||
- "docker.group=finance"
|
- "docker.group=finance"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue