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
Raw Normal View History

2021-01-04 21:28:13 +01:00
version: '3.3'
services:
app:
image: jc5x/firefly-iii:latest
restart: always
depends_on:
- db
- redis
env_file:
- firefly.env
2021-01-05 12:00:43 +01:00
labels:
- 'com.centurylinklabs.watchtower.enable=true'
2021-01-04 21:35:01 +01:00
networks:
- nginx
2021-01-04 21:38:40 +01:00
- default
2021-01-04 21:28:13 +01:00
volumes:
- upload:/var/www/html/storage/upload
db:
image: postgres:13-alpine
restart: always
env_file:
- db.env
2021-01-05 12:00:43 +01:00
labels:
- 'com.centurylinklabs.watchtower.enable=true'
2021-01-04 21:28:13 +01:00
volumes:
2021-01-05 12:07:55 +01:00
- db-data:/var/lib/postgresql/data
2021-01-04 21:28:13 +01:00
redis:
image: redis:6-alpine
restart: always
2021-01-05 12:00:43 +01:00
labels:
- 'com.centurylinklabs.watchtower.enable=true'
2021-01-04 21:35:01 +01:00
networks:
nginx:
external:
name: nginx
2021-01-04 21:28:13 +01:00
volumes:
upload:
db-data: