-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
231 lines (219 loc) · 4.94 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
version: "3.8"
services:
wiki_db:
image: postgres:15
restart: always
env_file: wiki_db.env
volumes:
- "./data/wiki/db:/var/lib/postgresql/data"
networks:
wiki_internal:
aliases:
- db
wiki:
image: requarks/wiki:2
restart: always
env_file: wiki.env
depends_on:
- wiki_db
networks:
- wiki_internal
- nginx
weblate_db:
image: postgres:15-alpine
restart: always
env_file:
- ./weblate.env
volumes:
- "./data/weblate/db:/var/lib/postgresql/data"
networks:
- weblate_internal
weblate_cache:
image: valkey/valkey:8
restart: always
command: ["redis-server", "--appendonly", "yes"]
volumes:
- "./data/weblate/redis:/data"
networks:
weblate_internal:
aliases:
- redis
weblate:
image: weblate/weblate:5.4.3.2
restart: always
env_file:
- ./weblate.env
tmpfs:
- /app/cache
volumes:
- "./data/weblate/data:/app/data"
depends_on:
- weblate_db
- weblate_cache
networks:
- weblate_internal
- nginx
labelstudio_db:
image: postgres:16-alpine
env_file:
- ./labelstudio.env
volumes:
- "./data/labelstudio/db:/var/lib/postgresql/data"
restart: always
networks:
- labelstudio_internal
labelstudio:
image: heartexlabs/label-studio:1.12.0
volumes:
- "./data/labelstudio/data:/label-studio/data"
env_file:
- ./labelstudio.env
restart: always
depends_on:
- labelstudio_db
networks:
- labelstudio_internal
- nginx
#############################
# listmonk mailing lists #
#############################
listmonk_db:
image: postgres:16-alpine
env_file: listmonk_db.env
volumes:
- "./data/listmonk/db:/var/lib/postgresql/data"
restart: always
networks:
- listmonk_internal
listmonk:
image: listmonk/listmonk:v3.0.0
restart: always
env_file: listmonk.env
networks:
- listmonk_internal
- nginx
depends_on:
- listmonk_db
command: ["./listmonk", "--config=\"\""]
#############################
# chatwoot support platform #
#############################
chatwoot:
image: aapeliv/chatwoot:patched-v3.15.0-ce
restart: always
env_file:
- ./chatwoot.env
volumes:
- "./data/chatwoot/storage:/app/storage"
depends_on:
- chatwoot_postgres
- chatwoot_redis
environment:
- NODE_ENV=production
- RAILS_ENV=production
- INSTALLATION_ENV=docker
entrypoint: docker/entrypoints/rails.sh
command: ['bundle', 'exec', 'rails', 's', '-p', '3000', '-b', '0.0.0.0']
networks:
- chatwoot_internal
- nginx
chatwoot_sidekiq:
image: aapeliv/chatwoot:patched-v3.15.0-ce
env_file:
- ./chatwoot.env
restart: always
volumes:
- "./data/chatwoot/storage:/app/storage"
depends_on:
- chatwoot_postgres
- chatwoot_redis
environment:
- NODE_ENV=production
- RAILS_ENV=production
- INSTALLATION_ENV=docker
command: ['bundle', 'exec', 'sidekiq', '-C', 'config/sidekiq.yml']
networks:
- chatwoot_internal
chatwoot_postgres:
image: postgres:16-alpine
env_file:
- ./chatwoot_db.env
restart: always
volumes:
- "./data/chatwoot/db:/var/lib/postgresql/data"
networks:
- chatwoot_internal
chatwoot_redis:
image: valkey/valkey:8
restart: always
volumes:
- "./data/chatwoot/redis:/data"
networks:
- chatwoot_internal
autosupport:
build: autosupport
env_file: autosupport.env
restart: always
networks:
- nginx
nginx:
build: nginx
env_file: nginx.env
restart: always
volumes:
- "./data/certs/:/certs/"
- "./data/nginx/logs/:/var/log/nginx/"
ports:
- 80:80
- 443:443
depends_on:
- wiki
- weblate
- labelstudio
- listmonk
- chatwoot
- autosupport
- victoriametrics
- grafana
networks:
- nginx
victoriametrics:
image: victoriametrics/victoria-metrics:v1.102.1
restart: always
expose:
- 8428
volumes:
- "./data/victoriametrics:/storage"
command:
- "--storageDataPath=/storage"
- "--retentionPeriod=100y"
networks:
- nginx
grafana:
image: grafana/grafana-oss:11.1.4
env_file: grafana.env
restart: always
user: "${USER_ID}:${GROUP_ID}"
expose:
- 3000
volumes:
- "./data/grafana:/var/lib/grafana"
- "./grafana/provisioning/:/etc/grafana/provisioning:ro"
- "./grafana/grafana.ini:/etc/grafana/grafana.ini:ro"
depends_on:
- victoriametrics
networks:
- nginx
networks:
nginx:
driver: bridge
wiki_internal:
driver: bridge
weblate_internal:
driver: bridge
labelstudio_internal:
driver: bridge
listmonk_internal:
driver: bridge
chatwoot_internal:
driver: bridge