-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
164 lines (157 loc) · 5.04 KB
/
docker-compose.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
version: "3"
services:
nginx:
restart: unless-stopped
image: nginx:1.16.0
container_name: nginx
ports:
- "80:80"
- "443:443"
volumes:
- "nginx_conf:/etc/nginx/conf.d"
- "nginx_vhost:/etc/nginx/vhost.d"
- "nginx_html:/usr/share/nginx/html"
- "nginx_certs:/etc/nginx/certs:ro"
nginx-gen:
restart: unless-stopped
image: btcpayserver/docker-gen:0.7.8
container_name: nginx-gen
volumes:
- "/var/run/docker.sock:/tmp/docker.sock:ro"
- "./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro"
- "nginx_conf:/etc/nginx/conf.d"
- "nginx_vhost:/etc/nginx/vhost.d"
- "nginx_html:/usr/share/nginx/html"
- "nginx_certs:/etc/nginx/certs:ro"
entrypoint: /usr/local/bin/docker-gen -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
links:
- nginx
letsencrypt-nginx-proxy-companion:
restart: unless-stopped
image: btcpayserver/letsencrypt-nginx-proxy-companion:1.12.2
container_name: letsencrypt-nginx-proxy-companion
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "nginx_conf:/etc/nginx/conf.d"
- "nginx_vhost:/etc/nginx/vhost.d"
- "nginx_html:/usr/share/nginx/html"
- "nginx_certs:/etc/nginx/certs:rw"
environment:
NGINX_DOCKER_GEN_CONTAINER: "nginx-gen"
NGINX_PROXY_CONTAINER: "nginx"
ACME_CA_URI: ${ACME_CA_URI:-https://acme-v01.api.letsencrypt.org/directory}
links:
- nginx-gen
- mattermost_app
mattermost_db:
image: btcpayserver/postgres:13.4-1
volumes:
- mm-dbdata:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_USER=mmuser
- POSTGRES_PASSWORD=mmuser_password
- POSTGRES_DB=mattermost
restart: unless-stopped
expose:
- 5432
mattermost_app:
restart: unless-stopped
image: mattermost/mattermost-team-edition:release-9.1
volumes:
- mm-config:/mattermost/config:rw
- mm-data:/mattermost/data:rw
- mm-logs:/mattermost/logs:rw
- mm-plugins:/mattermost/plugins:rw
- /etc/localtime:/etc/localtime:ro
environment:
# use service's hostname
MM_SQLSETTINGS_DRIVERNAME: postgres
MM_SQLSETTINGS_DATASOURCE: postgres://mmuser:mmuser_password@mattermost_db:5432/mattermost?sslmode=disable&connect_timeout=10
MM_SERVICESETTINGS_SITEURL: https://${MATTERMOST_HOST}
DOMAIN: ${MATTERMOST_HOST}
VIRTUAL_PORT: "8065"
VIRTUAL_HOST: ${MATTERMOST_HOST}
VIRTUAL_NETWORK: "nginx-proxy"
LETSENCRYPT_HOST: ${MATTERMOST_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
EDITION: "team"
depends_on:
- mattermost_db
mattermost_bridge:
restart: unless-stopped
image: 42wim/matterbridge:1.26.0
volumes:
- ./matterbridge.toml:/matterbridge.toml
configurator:
restart: unless-stopped
image: btcpayserver/btcpayserver-configurator:0.0.22
environment:
LETSENCRYPT_HOST: ${CONFIGURATOR_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
VIRTUAL_HOST: ${CONFIGURATOR_HOST}
expose:
- "80"
fireflyiii:
image: fireflyiii/core:version-5.7.15
environment:
- APP_ENV=local
- APP_KEY=MustBe32DropDbAndChangeItIfUWant
- APP_URL=https://${FIREFLY_HOST}
- TRUSTED_PROXIES=**
- DB_CONNECTION=pgsql
- DB_HOST=postgres
- DB_PORT=5432
# Need to manually create fireflyiii database since fireflyiii doesn't create it automatically
- DB_DATABASE=fireflyiii
- DB_USERNAME=postgres
- DB_PASSWORD=
- VIRTUAL_HOST_NAME=fireflyiii
- VIRTUAL_HOST=${FIREFLY_HOST}
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=${FIREFLY_HOST}
expose:
- 8080
volumes:
- firefly_iii_export:/var/www/html/storage/export
- firefly_iii_upload:/var/www/html/storage/upload
depends_on:
- postgres
postgres:
restart: unless-stopped
image: btcpayserver/postgres:13.7
command: [ "-c", "random_page_cost=1.0", "-c", "shared_preload_libraries=pg_stat_statements" ]
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- "postgres_datadir:/var/lib/postgresql/data"
plugin-builder:
restart: unless-stopped
image: btcpayserver/btcpayserver-plugin-builder:v1.0.29
environment:
PB_POSTGRES: Application Name=plugin-builder;User ID=postgres;Host=postgres;Port=5432;Database=pluginbuilder
PB_STORAGE_CONNECTION_STRING: ${PB_STORAGE_CONNECTION_STRING}
VIRTUAL_HOST_NAME: pluginbuilder
VIRTUAL_HOST: ${PB_HOST}
VIRTUAL_PORT: 8080
LETSENCRYPT_HOST: ${PB_HOST}
expose:
- "8080"
volumes:
- "pluginbuilder_datadir:/datadir"
- /var/run/docker.sock:/var/run/docker.sock
volumes:
nginx_conf:
nginx_vhost:
nginx_html:
nginx_certs:
mm-dbdata:
mm-config:
mm-data:
mm-logs:
mm-plugins:
firefly_iii_export:
firefly_iii_upload:
postgres_datadir:
pluginbuilder_datadir: