app-store/apps/firefly-iii/docker-compose.yml

67 lines
1.8 KiB
YAML
Raw Normal View History

2022-07-28 17:46:12 +00:00
version: '3.9'
services:
firefly-iii:
2022-10-13 21:06:59 +00:00
image: fireflyiii/core:version-5.7.11
2022-07-28 17:46:12 +00:00
container_name: firefly-iii
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data/uplodad:/var/www/html/storage/upload
ports:
- ${APP_PORT}:8080
depends_on:
- firefly-iii-db
environment:
- APP_ENV=local
- APP_DEBUG=false
- SITE_OWNER=${EMAIL}
- APP_KEY=${APP_KEY}
- TZ=${TZ}
- TRUSTED_PROXIES=**
# Database
- DB_CONNECTION=mysql
- DB_HOST=firefly-iii-db
- DB_PORT=3306
- DB_DATABASE=firefly
- DB_USERNAME=firefly
- DB_PASSWORD=${MYSQL_PASSWORD}
# Cookie settings
- COOKIE_PATH="/"
- COOKIE_DOMAIN=
- COOKIE_SECURE=false
- COOKIE_SAMESITE=lax
- APP_NAME=FireflyIII
- BROADCAST_DRIVER=log
- QUEUE_DRIVER=sync
- CACHE_PREFIX=firefly
- IS_HEROKU=false
- FIREFLY_III_LAYOUT=v1
- APP_URL=http://localhost:${APP_PORT}
networks:
- tipi_main_network
2022-11-11 19:33:58 +00:00
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.firefly-iii.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.firefly-iii.entrypoints: websecure
traefik.http.routers.firefly-iii.service: firefly-iii
traefik.http.routers.firefly-iii.tls.certresolver: myresolver
traefik.http.services.firefly-iii.loadbalancer.server.port: 8080
2022-07-28 17:46:12 +00:00
firefly-iii-db:
container_name: firefly-iii-db
image: mariadb
hostname: fireflyiii-db
restart: unless-stopped
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=firefly
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=firefly
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/mysql
networks:
- tipi_main_network