41 lines
654 B
YAML
41 lines
654 B
YAML
version: '3.3'
|
|
|
|
services:
|
|
app:
|
|
image: jc5x/firefly-iii:latest
|
|
restart: always
|
|
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
env_file:
|
|
- firefly.env
|
|
networks:
|
|
- nginx
|
|
- default
|
|
volumes:
|
|
- upload:/var/www/html/storage/upload
|
|
|
|
db:
|
|
image: postgres:13-alpine
|
|
restart: always
|
|
|
|
env_file:
|
|
- db.env
|
|
volumes:
|
|
- db-data:/var/lib/mysql
|
|
|
|
redis:
|
|
image: redis:6-alpine
|
|
restart: always
|
|
|
|
|
|
networks:
|
|
nginx:
|
|
external:
|
|
name: nginx
|
|
|
|
volumes:
|
|
upload:
|
|
db-data:
|