This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
self-hosting/firefly/docker-compose.yml

48 lines
890 B
YAML

version: '3.3'
services:
app:
image: jc5x/firefly-iii:latest
restart: always
depends_on:
- db
- redis
env_file:
- firefly.env
labels:
- 'com.centurylinklabs.watchtower.enable=true'
networks:
- nginx
- default
volumes:
- upload:/var/www/html/storage/upload
db:
image: postgres:13-alpine
restart: always
env_file:
- db.env
labels:
- 'com.centurylinklabs.watchtower.enable=true'
volumes:
- db-data:/var/lib/postgresql/data
redis:
image: redis:6-alpine
restart: always
labels:
- 'com.centurylinklabs.watchtower.enable=true'
networks:
nginx:
external:
name: nginx
volumes:
upload:
db-data: