-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloud.yml
258 lines (234 loc) · 6.22 KB
/
cloud.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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
# 102
version: '3'
services:
smokeping:
image: linuxserver/smokeping
container_name: smokeping
volumes:
- ${VOLUME_ROOT}/smokeping/config:/config
- ${VOLUME_ROOT}/smokeping/data:/data
ports:
- "8001:80"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=Europe/Paris
restart: always
ghostfolio:
image: ghostfolio/ghostfolio:latest
container_name: ghostfolio
environment:
- NODE_ENV=production
- ACCESS_TOKEN_SALT=${GF_ACCESS}
- JWT_SECRET_KEY=${GF_KEY}
- REDIS_HOST=ghostfolio-redis
- REDIS_PASSWORD=${GF_REDIS_PASSWORD}
- REDIS_PORT=6379
- DATABASE_URL=postgresql://${GF_PG_USER}:${GF_PG_PASSWORD}@ghostfolio-db:5432/${GF_PG_DB}?sslmode=prefer
ports:
- 8006:3333
depends_on:
- ghostfolio-db
- ghostfolio-redis
restart: always
ghostfolio-db:
image: postgres:12
container_name: ghostfolio_db
volumes:
- ${VOLUME_ROOT}/ghostfolio/db:/var/lib/postgresql/data
environment:
POSTGRES_DB: ${GF_PG_DB}
POSTGRES_USER: ${GF_PG_USER}
POSTGRES_PASSWORD: ${GF_PG_PASSWORD}
restart: always
ghostfolio-redis:
image: 'redis:alpine'
container_name: ghostfolio_redis
environment:
REDIS_HOST: 'redis_gf'
REDIS_PASSWORD: ${GF_REDIS_PASSWORD}
volumes:
- ${VOLUME_ROOT}/ghostfolio/redis:/data
restart: always
bitwarden:
image: vaultwarden/server
container_name: bitwarden
volumes:
- ${VOLUME_ROOT}/bitwarden:/data
ports:
- "8005:80"
environment:
WEBSOCKET_ENABLED: 'true' # Required to use websockets
SIGNUPS_ALLOWED: 'false' # set to false to disable signups
restart: always
immich:
container_name: immich
image: ghcr.io/immich-app/immich-proxy:release
ports:
- 8007:8080
depends_on:
- immich-web
- immich-server
restart: always
networks:
- immich_network
immich-server:
container_name: immich-server
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-server.sh"]
volumes:
- ${VOLUME_ROOT}/immich/photos:/usr/src/app/upload
environment:
- NODE_ENV=production
- DB_HOSTNAME=immich-db
- DB_USERNAME=immich
- DB_PASSWORD=${IM_DB_PASSWORD}
- ENABLE_MAPBOX=false
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich-redis
- JWT_SECRET=${IM_JWT_SECRET}
- TYPESENSE_API_KEY=${IM_TYPESENSE_API_KEY}
depends_on:
- immich-redis
- immich-db
- typesense
restart: always
networks:
- immich_network
immich-microservices:
container_name: immich-microservices
image: ghcr.io/immich-app/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes:
- ${VOLUME_ROOT}/immich/photos:/usr/src/app/upload
environment:
- NODE_ENV=production
- DB_HOSTNAME=immich-db
- DB_USERNAME=immich
- DB_PASSWORD=${IM_DB_PASSWORD}
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich-redis
- JWT_SECRET=${IM_JWT_SECRET}
- ENABLE_MAPBOX=false
- TYPESENSE_API_KEY=${IM_TYPESENSE_API_KEY}
depends_on:
- immich-redis
- immich-db
- typesense
restart: always
networks:
- immich_network
immich-machine-learning:
container_name: immich-machine-learning
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- ${VOLUME_ROOT}/immich/cache:/cache
environment:
- NODE_ENV=production
- DB_HOSTNAME=immich-db
- DB_USERNAME=immich
- DB_PASSWORD=${IM_DB_PASSWORD}
- DB_NAME=immich
- DB_DATABASE_NAME=immich
depends_on:
- immich-db
restart: always
networks:
- immich_network
immich-web:
container_name: immich-web
image: ghcr.io/immich-app/immich-web:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
restart: always
networks:
- immich_network
immich-redis:
container_name: immich-redis
image: redis:6.2
restart: always
networks:
- immich_network
immich-db:
container_name: immich-db
image: postgres:14
environment:
POSTGRES_PASSWORD: ${IM_DB_PASSWORD}
POSTGRES_USER: immich
POSTGRES_DB: immich
PG_DATA: /var/lib/postgresql/data
volumes:
- ${VOLUME_ROOT}/immich/db:/var/lib/postgresql/data
restart: always
networks:
- immich_network
typesense:
container_name: immich-typesense
image: typesense/typesense:0.24.0
environment:
- TYPESENSE_API_KEY=${IM_TYPESENSE_API_KEY}
- TYPESENSE_DATA_DIR=/data
logging:
driver: none
volumes:
- ${VOLUME_ROOT}/immich/tsdata:/data
restart: always
networks:
- immich_network
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=Europe/Paris
volumes:
- ${VOLUME_ROOT}/syncthing/config:/config
- ${VOLUME_ROOT}/immich/gallery:/gallery
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped
# mealie:
# container_name: mealie
# image: hkotel/mealie:latest
# restart: always
# ports:
# - 8004:80
# environment:
# - PUID=${PUID}
# - PGID=${PGID}
# - TZ=Europe/Paris
# # Default Recipe Settings
# - RECIPE_PUBLIC='true'
# - RECIPE_SHOW_NUTRITION='true'
# - RECIPE_SHOW_ASSETS='true'
# - RECIPE_LANDSCAPE_VIEW='true'
# - RECIPE_DISABLE_COMMENTS='false'
# - RECIPE_DISABLE_AMOUNT='false'
# # Gunicorn
# # WEB_CONCURRENCY: 2
# # WORKERS_PER_CORE: 0.5
# # MAX_WORKERS: 8
# volumes:
# - ${VOLUME_ROOT}/mealie:/app/data
# code-server:
# image: linuxserver/code-server
# container_name: code-server
# environment:
# - PUID=${PUID}
# - PGID=${PGID}
# - TZ=Europe/Paris
# - PASSWORD=${CODE_PASSWORD}
# - SUDO_PASSWORD=${CODE_SUDO_PASSWORD}
# - PROXY_DOMAIN=code.mutualis.com
# volumes:
# - ${VOLUME_ROOT}/code-server:/config
# ports:
# - 8002:8443
# restart: always
volumes:
postgres:
networks:
immich_network: