-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pulumi.yaml
574 lines (574 loc) · 15.2 KB
/
Pulumi.yaml
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
name: homelab-infra
runtime:
name: python
options:
virtualenv: .venv
description: Infra for hosting service
config:
server:
value:
platform: amd64
tz: Etc/UTC
secret_:
value:
key:
restic-repo:
export: true
__paperless-ngx-secret:
authelia-jwt:
authelia-session:
authelia-storage-encryption:
__monica-app:
length: 32
__crowdsec-traefik-bouncer:
special: false
dendrite-registration-secret:
sliding-sync-encryption:
__linkwarden-secret:
nghe-encryption:
length: 16
special: false
account:
nghe:
hostname: public-nghe
custom:
AndroidApp1: app.symfonik.music.player
KP2A_URL_1: https://airsonic.netlify.app
ntfy:
hostname: public-ntfy
custom:
AndroidApp1: io.heckel.ntfy
ntfy-write-only:
jellyfin:
hostname: private-jellyfin
custom:
AndroidApp1: org.jellyfin.mobile
paperless-ngx:
hostname: private-paperless-ngx
memos:
hostname: private-memos
custom:
AndroidApp1: me.mudkip.moememos
immich:
hostname: private-immich
email: true
custom:
AndroidApp1: app.alextran.immich
soulseek:
monica:
hostname: private-monica
email: true
linkwarden:
hostname: private-linkwarden
password-storage:
authelia: true
ryot:
hostname: private-ryot
matrix:
hostname: public-dendrite
custom:
AndroidApp1: io.element.android.x
private-neko:
hostname: private-infra
username: admin
docker:
value:
image:
tailscale:
name: tailscale/tailscale
tag: "v1.70.0c"
traefik:
name: traefik
tag: "v3.1.0"
dozzle:
name: amir20/dozzle
tag: "v8.0.6"
syncthing:
name: syncthing/syncthing
tag: "1.27.8"
rclone:
name: rclone/rclone
tag: "1.67.0"
crowdsec:
name: crowdsecurity/crowdsec
tag: "v1.6.2"
ntfy:
name: binwiederhier/ntfy
tag: "v2.11.0"
restic:
name: restic/restic
tag: "0.16.4"
socat:
name: alpine/socat
tag: "1.8.0.0"
jellyfin:
name: linuxserver/jellyfin
tag: "10.9.8"
redis:
name: redis
tag: "7.2.4-alpine3.19"
postgres:
name: postgres
tag: "16.3-bookworm"
postgres-vector:
name: tensorchord/pgvecto-rs
tag: "pg16-v0.3.0-alpha.2"
mariadb:
name: mariadb
tag: "11.3.2-jammy"
paperless-ngx:
name: ghcr.io/paperless-ngx/paperless-ngx
tag: "2.11.0"
neko-firefox:
name: "'ghcr.io/m1k1o/neko/{}-firefox'.format('intel' if platform == 'amd64' else 'arm')"
tag: &neko-browser-version "2.8.11"
neko-tor-browser:
name: "'ghcr.io/m1k1o/neko/{}-tor-browser'.format('intel' if platform == 'amd64' else 'arm')"
tag: *neko-browser-version
neko-vlc:
name: "'ghcr.io/m1k1o/neko/{}-vlc'.format('intel' if platform == 'amd64' else 'arm')"
tag: *neko-browser-version
cloudflared:
name: cloudflare/cloudflared
tag: "2024.6.0"
memos:
name: ghcr.io/usememos/memos
tag: "0.22.2"
immich-server:
name: ghcr.io/immich-app/immich-server
tag: &immich-version "v1.105.1"
immich-machine-learning:
name: ghcr.io/immich-app/immich-machine-learning
tag: *immich-version
slskd:
name: ghcr.io/slskd/slskd
tag: "0.21.0"
ttyd:
name: tsl0922/ttyd
tag: "1.7.7-alpine"
script-server:
name: bugy/script-server
tag: "1.18.0"
monica:
name: ghcr.io/monicahq/monica-next
tag: "main"
linkwarden:
name: ghcr.io/linkwarden/linkwarden
tag: "v2.5.3"
mailserver:
name: ghcr.io/docker-mailserver/docker-mailserver
tag: "14.0.0"
authelia:
name: authelia/authelia
tag: "4.38.8"
ryot:
name: ghcr.io/ignisda/ryot
tag: "v3.4.15"
dufs:
name: sigoden/dufs
tag: "v0.41.0"
dendrite:
name: matrixdotorg/dendrite-monolith
tag: "v0.13.6"
sliding-sync:
name: ghcr.io/matrix-org/sliding-sync
tag: "v0.99.13"
gluetun:
name: qmcgaw/gluetun
tag: "v3.38.0"
qbittorrent:
name: ghcr.io/qbittorrent/docker-qbittorrent-nox
tag: "4.6.5-1"
nghe:
name: ghcr.io/vnghia/nghe-musl
tag: "0.9.10"
python-alpine:
name: python
tag: "3.12.1-alpine3.19"
build:
backup:
dockerfile: _data/backup/image/Dockerfile
image:
- python-alpine
- restic
material:
- _data/backup/image/requirements.txt
- _data/backup/image/*.py
script-server:
dockerfile: _service/script_server/image/Dockerfile
image:
- python-alpine
- script-server
ttyd:
dockerfile: _service/ttyd/image/Dockerfile
image:
- ttyd
material:
- _service/ttyd/image/ns
telegram:
dockerfile: _service/telegram/image/Dockerfile
image:
- python-alpine
material:
- _service/telegram/image/requirements.txt
- _service/telegram/image/*.py
plugin:
rclone:
name: rclone/docker-volume-rclone
version: "'{}-1.67.0'.format(platform)"
compose:
volume: docker-compose
storage:
value:
volume:
local:
tailscale-state:
traefik-config:
traefik-cert:
syncthing-config:
crowdsec-config:
crowdsec-data:
ntfy-cache:
ntfy-data:
docker-compose:
restic-cache:
script-server-log:
script-server-config-only:
script-server-scripts:
script-server-schedules:
script-server-runners:
telegram-session:
jellyfin-config:
jellyfin-cache:
jellyfin-data:
paperless-ngx-data:
paperless-ngx-media:
paperless-ngx-export:
memos-data:
immich-upload:
immich-machine-learning-model-cache:
slskd-data:
monica-data:
mailserver-data:
mailserver-state:
mailserver-log:
mailserver-config:
mailserver-cert:
authelia-config:
dendrite-config:
dendrite-jetstream:
dendrite-searchindex:
qbittorrent-config:
qbittorrent-download:
nghe-data:
bind:
# https://rclone.org/docker/
rclone-config: /var/lib/docker-plugins/rclone/config
rclone-cache: /var/lib/docker-plugins/rclone/cache
mount:
music: music/original/
crypt:
password: crypt/password/
media-orange: media/orange/
central: central/
media-self: media/self/
obsidian-self: obsidian/self/
media-matrix: media/matrix/
media-memos: media/memos/
game-citra: game/citra/
container:
tailscale:
state:
dir: /var/lib/tailscale/
traefik:
config:
dir: /etc/traefik/config/
ro: true
cert:
dir: /etc/traefik/cert/
webdav-storage:
config:
volume: rclone-config
dir: /etc/rclone/
ro: true
ftp-storage:
config:
volume: rclone-config
dir: /etc/rclone/
ro: true
syncthing:
config:
dir: /var/syncthing/
password:
volume: crypt-password
dir: /var/syncthing/data/password/
obsidian-self:
volume: crypt-obsidian-self
dir: /var/syncthing/data/obsidian/self/
game-citra:
volume: crypt-game-citra
dir: /var/syncthing/data/game/citra/
crowdsec:
config:
dir: /etc/crowdsec/
data:
dir: /var/lib/crowdsec/data/
ntfy:
cache:
dir: /var/cache/ntfy/
data:
dir: /var/lib/ntfy/
script-server:
config-only:
dir: /app/conf-only/
ro: true
log:
dir: /app/logs/
compose:
volume: docker-compose
dir: /app/compose/
ro: true
scripts:
dir: /app/conf/scripts/
ro: true
schedules:
dir: /app/conf/schedules/
ro: true
runners:
dir: /app/conf/runners/
ro: true
ttyd:
compose:
volume: docker-compose
dir: /compose/
ro: true
telegram-login-code:
session:
volume: telegram-session
dir: /telegram/session/
ro: true
jellyfin:
config:
dir: /config/
cache:
dir: /config/cache/
data:
dir: /config/data/
media-orange:
volume: crypt-media-orange
dir: /media/orange/
ro: true
paperless-ngx:
data:
dir: /usr/src/paperless/data/
media:
dir: /usr/src/paperless/media/
export:
dir: /usr/src/paperless/export/
memos:
data:
dir: /var/opt/memos/
assets:
volume: crypt-media-memos
dir: /var/opt/memos/assets/
immich-server:
upload:
volume: immich-upload
dir: /usr/src/app/upload/
media-self:
volume: crypt-media-self
dir: /mnt/media/self/
ro: true
immich-microservices:
upload:
volume: immich-upload
dir: /usr/src/app/upload/
media-self:
volume: crypt-media-self
dir: /mnt/media/self/
ro: true
immich-machine-learning:
model-cache:
dir: /cache/
slskd:
music:
volume: mount-music
dir: /music/
ro: true
data:
dir: /app/
monica:
data:
dir: /var/www/html/storage/
mailserver:
data:
dir: /var/mail/
state:
dir: /var/mail-state/
log:
dir: /var/log/mail/
config:
dir: /tmp/docker-mailserver/
ro: true
traefik-cert:
volume: traefik-cert
dir: /etc/letsencrypt/
cert:
dir: /etc/letsencrypt/live/
authelia:
config:
dir: /config/
ro: true
password-storage:
config:
volume: rclone-config
dir: /etc/rclone/
ro: true
dendrite:
config:
dir: /etc/dendrite/
ro: true
jetstream:
dir: /var/dendrite/jetstream/
searchindex:
dir: /var/dendrite/searchindex/
media:
volume: crypt-media-matrix
dir: /var/dendrite/media/
qbittorrent:
config:
dir: /config/
download:
dir: /downloads/
nghe:
data:
dir: /tmp/nghe/
backup:
common:
prefix: /volume/
notification:
topic: backup
tags:
- daily-backup
cache:
volume: restic-cache
dir: /var/cache/restic/
service:
syncthing:
stop:
- syncthing
volume:
config:
path:
- config/config.xml
- config/key.pem
- config/cert.pem
telegram:
volume:
session:
path:
- "."
paperless-ngx:
volume:
export:
path:
- "."
script_path: _data/backup/script/paperless_ngx.py
memos:
stop:
- memos
volume:
data:
path:
- memos_prod.db
immich:
stop:
- immich-server
- immich-microservices
postgres: true
monica:
stop:
- monica
postgres: true
linkwarden:
stop:
- linkwarden
postgres: true
authelia:
stop:
- authelia
postgres: true
ryot:
stop:
- ryot
postgres: true
redis:
- paperless-ngx
- immich
- monica
- authelia
postgres:
immich:
image: postgres-vector
monica:
linkwarden:
authelia:
ryot:
dendrite:
sliding-sync:
nghe:
service:
value:
tailscale:
ports:
https: 444
http: 81
socket: /var/run/tailscale/tailscaled.sock
traefik:
# TODO: Upgrade to v3
schema:
static: https://cdn.githubraw.com/SchemaStore/schemastore/6dd10d98/src/schemas/json/traefik-v2.json
dynamic: https://cdn.githubraw.com/SchemaStore/schemastore/6dd10d98/src/schemas/json/traefik-v2-file-provider.json
plugin:
crowdsec:
name: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin
version: "v1.3.2"
rewrite-response-headers:
name: github.com/XciD/traefik-plugin-rewrite-headers
version: "v0.0.4"
webdav-storage:
port: 8080
script-server:
port: 8080
admin: admin
ttyd:
port: 8080
option:
disableReconnect: 1
cursorStyle: bar
fontSize: 16
allowTransparency: 1
drawBoldTextInBrightColors: 1
enableTrzsz: 1
disableLeaveAlert: 1
telegram:
session: /telegram/session/
notification:
topic: telegram
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Telegram_logo.svg/240px-Telegram_logo.svg.png
ntfy:
email-server:
domain: private-ntfy
service:
monica: private-monica
authelia: public-authelia
password-storage:
port: 8080
docker-browser:
port: 5000
mount-root: /volume/
mount-secondary: misc/
top:
- slskd-data
qbittorrent:
port: 8080