forked from cioraneanu/firefly-pico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.pico+firefly.yml
76 lines (70 loc) · 1.81 KB
/
docker-compose.pico+firefly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3.3'
services:
firefly-pico:
image: cioraneanu/firefly-pico:latest
container_name: firefly_pico
restart: always
depends_on:
- firefly-pico-postgresql
ports:
- 6976:80
environment:
- FIREFLY_URL=http://firefly-app:8080
- DB_CONNECTION=pgsql
- DB_HOST=firefly-pico-postgresql
- DB_PORT=5432
- DB_DATABASE=firefly-pico
- DB_USERNAME=firefly-pico
- DB_PASSWORD=very-secure-pwd-pico
- TZ=Europe/London
networks:
firefly:
firefly-pico-postgresql:
image: postgres:latest
container_name: firefly_pico_db
restart: always
environment:
- POSTGRES_DB=firefly-pico
- POSTGRES_USER=firefly-pico
- POSTGRES_PASSWORD=very-secure-pwd-pico
volumes:
- /<your_path>/firefly-pico-db:/var/lib/postgresql/data
networks:
firefly:
firefly-app:
image: fireflyiii/core:latest
container_name: firefly_iii
restart: always
depends_on:
- firefly-app-postgresql
ports:
- 6041:8080
environment:
- FIREFLY_III_LAYOUT=v1
- APP_URL=https://firefly.domain.com
- APP_KEY=<add unique 32-char key>
- TRUSTED_PROXIES=**
- DB_CONNECTION=pgsql
- DB_HOST=firefly-app-postgresql
- DB_PORT=5432
- DB_DATABASE=firefly
- DB_USERNAME=firefly
- DB_PASSWORD=very-secure-pwd-firefly
volumes:
- /<your_path>/firefly-upload:/var/www/html/storage/upload
networks:
firefly:
firefly-app-postgresql:
image: postgres:latest
container_name: firefly_iii_db
restart: always
environment:
- POSTGRES_DB=firefly
- POSTGRES_USER=firefly
- POSTGRES_PASSWORD=very-secure-pwd-firefly
volumes:
- /<your_path>/firefly-db:/var/lib/postgresql/data
networks:
firefly:
networks:
firefly: