forked from petersem/DockerStack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
1873 lines (1782 loc) · 48.2 KB
/
docker-compose.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
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Matt's DockerStack
# ------------------
# A list of all the containers that I run. "Gotta catch 'em all!" :)
#
# *** Join me and others on the Dockerholics FB group https://www.facebook.com/groups/205764024543769
#
#
# Networking & Security
# ------------------------------------------------------------
# 9443,980 - Nginx Proxy Manager Reverse proxy app with LetsEncrypt included
# As needed - VPN OpenVpn client - used for torrent-related activities
# As needed - VPNPrivoxy OpenVPN client - used for web proxy 'privoxy' for bypassing geo-block
# 5801 - filezilla FTP Client
# 80 - Nginx1 Basic web server
# 80 - Nginx2 Basic web server
# 8383 - LibreSpeed Server to device speed test utility
# 80, 6443 - Pi-Hole (with unbound) Ad blocker and DHCP, using unbound dns lookup
# - - DuckDNS Dynamic DNS updater for DuckDNS
# 8118 - Privoxy Web proxy server, using VPNPrivoxy for accessing geo-blocked web sites
# 8089 - VaultWarden Passowrd management application
#
# Media Playing or Provisioning
# ------------------------------------------------------------
# 32400 - Plex Media Server Media server
# 8096 - JellyFin Media server
# 8056 - jfa-go JellyFin managent tool
# 8000 - DizQtv Simulateds HDHomeRun device, but reads from selected Plex content
# 2001 - MovieMatch Allows user matching of movies to watch (think Tinder for movies)
# 34400 - Xteve Allows multiple TV guides to be consolidated into one
# 8083 - Calibre-web E-book browsing and viewing
# 9876 - Poster Plex, sonarr, radarr media display
#
# Photo/Video Management
# ------------------------------------------------------------
# 880 - Pwigo Self-hosted image manager
# 90 - Lychee Photo manager
# 8282 - Photoshow Photo manager
# 4343 - Chevereto Stock image manager
# 8010 - Papermerge Document storage and OCR
# 6969 - Stash Video collection manager
#
# Collaboration and Synchronisation
# ------------------------------------------------------------
# 8384 - SyncThing Synchronisation of files between devices
# 9001 - TheLounge IRC Client
# 6875 - BookStack Shared documentation hub
# 7777 - HasteBin Private PasteBin clone
# 2525 - Privatebin Pastebin alternative
#
# Media Gathering
# ------------------------------------------------------------
# 8989 - Sonarr Search for TV shows
# 7878 - Radarr Search for movies
# 7879 - Radarr4k Search for 4k movies
# 8686 - Lidarr Search for music
# 8787 - Readarr Search for e-books
# 5299 - LazyLibrarian Search for e-books and audio books
# 8080 - Sabnzbd Usenet downloader
# 9991 - Qbittorrent Torrent downloader
# 9117 - Jackett Presents an API-callable interface over a number of torrent sites
# 5076 - NzbHydra2 NZB and Jacket aggregator
# 6767 - Bazarr Downloads subtitles
# 3579 - OMBI End-user media requester
# 8265 - Tdarr Media conversion tool
# 5800 - Handbrake Media conversion tool
# 7080, 7081- Calibre E-book metadata manager
# 5055 - Overseer Media request tool
# 8484 - Gaps Plex missing media searcher
# 6789 - NzbGet Usenet downloader
# 8282 - Rutorrent Torrent download app
# 8800 - Alltube Youtube downloader
#
# Docker Related
# ------------------------------------------------------------
# - - Watchtower Update containers with latest images
# - - Autoheal Restarts unhealthy containers
# 9000 - Portainer Docker management tool
# 9999 - Dozzle Container log aggregator
#
# System Monitoring & Management
# ------------------------------------------------------------
# 19999 - Netdata Monitors and presents graphs for system attributes
# 88 - Monitorr Web page monitor
# 8082 - NextCloud Collaboration platform
# 8123 - HomeAssistant Smart home monitoring and management
# 8181 - Tautulli Plex monitoring and statistics
# 8085 - Domoticz Smart home montioring and management
# 6080 - Scrutiny Hard Drive monitoring app
# 5050 - ChangeDetection Web site monitoring app
#
# Databases
# ------------------------------------------------------------
# 3306 - MariaDB MariaDB Database(MySQL Clone)
# 3306 - MySQL MySQL Database
# 3001 - MySQLWorkBench Client query tool for MySQL and MariaDB databases
#
# Programming
# ------------------------------------------------------------
# 1880 - Node-Red Develop code for linking smart devices
#
# Link / Page Organisation
# ------------------------------------------------------------
# 5443 - Organizr Link / Page manager
# 2000 - DashMachine Link manager
# 8282 - Homer Link / Page manager
#
# Information
# ------------------------------------------------------------
# 8585 - FreshRSS RSS Feed
# 5555 - MagicMirror Magic mirror presentation software
#
# Gaming
# ------------------------------------------------------------
# 1234 - OpenRA Open Red Alert game server
#
# CRM
# ------------------------------------------------------------
# 8008 - Monica CRM system
#
# Content Creation
# 2443 - Draw.IO Diagram creation app
# 2368 - Ghost Self-hosted blog app
#
version: '2.4'
# VOLUMES #
#volumes:
# cifs: #use this if running docker on windows and needing to map a cifs network drive
# driver: local
# driver_opts:
# type: cifs
# o: username=(username),password=(password),rw,domain=(domainname),uid=1000,gid=1000
# device: "\\\\(ipaddress)\\shared"
# VOLUMES #
#volumes:
# nginx2:
# NETWORKS #
networks:
# # Cant use ip ranges yet. hopefully coming in a future release
macv_network:
driver: macvlan
driver_opts:
parent: $ETHCARD
ipam:
driver: default
config:
- subnet: 192.168.1.0/24
gateway: 192.168.1.1
# SERVICES #
services:
changedetection:
container_name: changedetection
image: dgtlmoon/changedetection.io
ports:
- "5050:5000"
environment:
- TZ=$TIME_ZONE
volumes:
- $PERSIST/changedetection:/datastore
restart: unless-stopped
# Exportarr
# Open app with http://hostIP:1234?token=xyzzy
exportarr:
container_name: exportarr
image: petersem/exportarr
environment:
NODE_ENV: production
TOKEN: "xyzzy"
RADARR_URL: "http://192.168.1.135:7878"
RADARR_TOKEN: $RADARR_API_KEY__SECRET
ports:
- 1234:3000
# Alltube
alltube:
image: rudloff/alltube
container_name: alltube
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
ports:
- 8800:80
restart: unless-stopped
# Papermerge
papermerge:
image: ghcr.io/linuxserver/papermerge
container_name: papermerge
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=Australia/Brisbane
# - REDIS_URL= #optional
volumes:
- $PERSIST/papermerge/config:/config
- $PERSIST/papermerge/data:/data
ports:
- 8010:8000
restart: unless-stopped
# Ghost
ghost:
container_name: ghost
image: ghost
restart: unless-stopped
ports:
- 2368:2368
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: ghostdb
database__connection__user: casper
database__connection__password: secret
database__connection__database: ghost
# this url value is just an example, and is likely wrong for your environment!
url: http://192.168.1.135:2368
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
#NODE_ENV: development
depends_on:
- ghostdb
# Ghost Database
ghostdb:
image: mysql:5.7
container_name: ghostdb
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=Whooo-ooo!
- MYSQL_DATABASE=ghost
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_USER=casper
- MYSQL_PASSWORD=secret
volumes:
- $PERSIST/ghostdb:/var/lib/mysql
# Scrutiny
scrutiny:
image: ghcr.io/linuxserver/scrutiny
container_name: scrutiny
cap_add:
- SYS_RAWIO
- SYS_ADMIN #optional
privileged: true
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=Australia/Brisbane
- SCRUTINY_API_ENDPOINT=http://localhost:8080
- SCRUTINY_WEB=true
- SCRUTINY_COLLECTOR=true
volumes:
- $PERSIST/scrutiny:/config
- /run/udev:/run/udev:ro
ports:
- 6080:8080
devices:
- /dev:/dev
restart: unless-stopped
# draw.io
drawio:
image: fjudith/draw.io
ports:
- 2443:8443
- 2080:8080
container_name: drawio
restart: unless-stopped
# Homer
homer:
container_name: homer
image: b4bz/homer
ports:
- 8008:80
environment:
- UID=$PUID
- GID=$PGID
volumes:
- $PERSIST/homer:/www/assets
ports:
- 8282:8080
restart: always
# monica
monica:
container_name: monica
image: monica
depends_on:
- monicadb
ports:
- 8008:80
environment:
- APP_KEY=thisismyrandomappkey!!likeit?007
- DB_HOST=monicadb
volumes:
- $PERSIST/monica:/var/www/html/storage
restart: unless-stopped
# monica database
monicadb:
container_name: monicadb
image: mysql:5.7
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=monica
- MYSQL_USER=homestead
- MYSQL_PASSWORD=secret
volumes:
- $PERSIST/monicadb:/var/lib/mysql
restart: unless-stopped
# Poster
poster:
image: petersem/poster
container_name: poster
environment:
TZ: $TIME_ZONE
volumes:
- $PERSIST/poster/randomthemes:/usr/src/app/public/randomthemes
- $PERSIST/poster/config:/usr/src/app/config
ports:
- 9876:3000
restart: unless-stopped
# Password Manager
vaultwarden:
container_name: vaultwarden
image: vaultwarden/server
restart: always
volumes:
- $PERSIST/vaultwarden/data:/data
- $PERSIST/vaultwarden/ssl:/ssl
- /etc/localtime:/etc/localtime:ro
ports:
- 8089:8089
- 3012:3012
user: $PUID:$PGID
environment:
- LOG_FILE=/data/vaultwarden.log
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
# - SIGNUPS_ALLOWED=true
- SIGNUPS_ALLOWED=false
- INVITATIONS_ALLOWED=true
- LOG_LEVEL=warn
- EXTENDED_LOGGING=true
- DOMAIN=https://bw.$DOMAINNAME
- ROCKET_PORT=8089
- WEBSOCKET_ENABLED=true
- ADMIN_TOKEN=$BW_TOKEN__SECRET
- SMTP_HOST=$GM_SERVER
- SMTP_FROM=$GM_USER__SECRET
- SMTP_PORT=$GM_PORT
- SMTP_SSL=true
- SMTP_USERNAME=$GM_USER__SECRET
- SMTP_PASSWORD=$GM_PSW__SECRET
labels:
- autoheal=true
#
# privatebin - pastebin alternative
#
privatebin:
container_name: privatebin
restart: unless-stopped
image: privatebin/nginx-fpm-alpine
ports:
- 2525:8080
volumes:
- $PERSIST/privatebin:/srv/data
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- PHP_TZ=$TIME_ZONE
- PASSWORD=false
#
# piwigo - photo management application
#
piwigo:
image: ghcr.io/linuxserver/piwigo
container_name: piwigo
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
volumes:
- $PERSIST/piwigo/config:/config
- $MEDIA_PATH/pictures:/config/www/gallery/galleries
ports:
- 880:80
restart: unless-stopped
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:80 || exit 1
start_period: 120s
timeout: 10s
interval: 5s
retries: 3
piwigodb:
container_name: piwigodb
image: linuxserver/mariadb
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- MYSQL_ROOT_PASSWORD=piwigo
- MYSQL_DATABASE=piwigo
- MYSQL_USER=piwigo
- MYSQL_PASSWORD=piwigo
expose:
- 3306
volumes:
- $PERSIST/piwigodb:/config
restart: unless-stopped
labels:
- autoheal
healthcheck:
test: ["CMD", "mysqladmin", "ping", "--silent"]
nodered:
image: nodered/node-red
container_name: nodered
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
volumes:
- $PERSIST/node-red:/data
ports:
- 1880:1880
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:1880 || exit 1
start_period: 90s
timeout: 10s
interval: 5s
retries: 3
restart: unless-stopped
#
# moviematch - allows two or more people to select movies to watch on plex
# - no health check available atm
#
moviematch:
container_name: moviematch
restart: unless-stopped
image: lukechannings/moviematch
ports:
- 2001:8000
environment:
- PLEX_TOKEN=$PLEX_TOKEN__SECRET
- PLEX_URL=$PURL
- LIBRARY_FILTER=$LIBFILTER
# - ROOT_PATH=/
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
depends_on:
plex:
condition: service_healthy
#
# magic mirror - drives display for magic mirror projects
# - no health check available atm
#
magicmirror:
container_name: magicmirror
image: bastilimbach/docker-magicmirror
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- $PERSIST/magic_mirror/config:/opt/magic_mirror/config
- $PERSIST/magic_mirror/modules:/opt/magic_mirror/modules
- $PERSIST/magic_mirror/css/custom.css:/opt/magic_mirror/css/custom.css
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
ports:
- 5555:8080
syncthing:
container_name: syncthing
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- UMASK_SET=022
volumes:
- $PERSIST/syncthing/config:/config
- $PERSIST/syncthing/data1:/data1
- $PERSIST/syncthing/data2:/data2
ports:
- 8384:8384
- 22000:22000
- 21027:21027/udp
image: linuxserver/syncthing
restart: unless-stopped
#
# librespeed - internal speed test host to lan device
# - no health check available atm
#
librespeed:
image: linuxserver/librespeed
container_name: librespeed
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- PASSWORD=PASSWORD
volumes:
- $PERSIST/librespeed:/config
ports:
- 8383:80
restart: unless-stopped
plex:
container_name: plex
hostname: $HOST_NAME
restart: unless-stopped
image: linuxserver/plex
volumes:
- $PERSIST/plex/config:/config
- $PERSIST/plex/transcode:/transcode
- $MEDIA_PATH:/media
- $MEDIA_PATH/audiobooks:/audiobooks:rw
network_mode: host
ports:
- "32400:32400/tcp"
- "3005:3005/tcp"
- "8324:8324/tcp"
- "32469:32469/tcp"
- "1901:1900/udp"
- "32410:32410/udp"
- "32412:32412/udp"
- "32413:32413/udp"
- "32414:32414/udp"
dns:
- 8.8.8.8
- 8.8.4.4
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- HOSTNAME=$HOST_NAME
- PLEX_CLAIM=$PLEX_CLAIM_TOKEN__SECRET
- ADVERTISE_IP=$ADVERTISE_IP
- VERSION=$VERSION
- ALLOWED_NETWORKS=$ALLOWED_NETWORKS
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fsS http://localhost:32400/identity > /dev/null || exit 1
start_period: 60s
timeout: 10s
interval: 5s
retries: 3
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
- /dev/dri:/dev/dri
# cpu_percent: 50
#mem_limit: 1500M
#mem_reservation: 1300M
homeassistant:
container_name: homeassistant
restart: always
image: homeassistant/home-assistant
#devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
# - /dev/ttyUSB1:/dev/ttyUSB1
# - /dev/ttyACM0:/dev/ttyACM0
volumes:
- $PERSIST/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
ports:
- "8123:8123"
privileged: true
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
privoxy:
image: vimagick/privoxy
container_name: privoxy
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
# Surfaced via vpnprivoxy
# ports:
# - "8818:8118"
volumes:
- $PERSIST/privoxy/user.action:/etc/privoxy/user.action
- $PERSIST/privoxy/user.filter:/etc/privoxy/user.filter
network_mode: "service:vpnprivoxy"
cap_add:
- NET_ADMIN
restart: always
depends_on:
vpnprivoxy:
condition: service_healthy
vpnprivoxy:
devices:
- /dev/net/tun
restart: unless-stopped
container_name: vpnprivoxy
ports:
# privoxy
- 8818:8118
image: dperson/openvpn-client
security_opt:
- label:disable
cap_add:
- NET_ADMIN
stdin_open: true
tty: true
dns:
- 1.1.1.1
volumes:
- $PERSIST/vpnprivoxy:/vpn
command: -f ""
portainer:
image: portainer/portainer-ce
container_name: portainer
restart: always
command: -H unix:///var/run/docker.sock
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- $PERSIST/portainer-ce/data:/data
environment:
- TZ=$TIME_ZONE
#
# Watchtower - updates containers with latest images
# - no health check available (if it fails, it just restarts by default)
#
watchtower:
container_name: watchtower
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# Environment section needs to be in this format for the notifications to work
environment:
TZ: $TIME_ZONE
WATCHTOWER_REMOVE_VOLUMES: "true"
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_INCLUDE_STOPPED: "true"
WATCHTOWER_POLL_INTERVAL: $WT_INTERVAL
WATCHTOWER_TIMEOUT: 15
WATCHTOWER_NOTIFICATIONS_LEVEL: info
WATCHTOWER_NOTIFICATIONS: shoutrrr
# Using Pushbullet, telegram and pushover as examples, but just pick one
# WATCHTOWER_NOTIFICATION_URL: "pushover://shoutrrr:$PUSHOVER_APP_API__SECRET@$PUSHOVER_USER_API__SECRET/?devices=$PUSHOVER_DEVICE telegram://$TELEGRAM_BOT_TOKEN__SECRET@telegram?channels=$TELEGRAM_CHAT_ID__SECRET pushbullet://$PUSHBULLET_API__SECRET"
WATCHTOWER_NOTIFICATION_URL: "telegram://$TELEGRAM_BOT_TOKEN__SECRET@telegram?channels=$TELEGRAM_CHAT_ID__SECRET"
# WATCHTOWER_NOTIFICATIONS: email
# WATCHTOWER_NOTIFICATION_EMAIL_FROM: $GM_USER__SECRET
# WATCHTOWER_NOTIFICATION_EMAIL_TO: $GM_TO__SECRET
# WATCHTOWER_NOTIFICATION_EMAIL_SERVER: $GM_SERVER
# WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: $GM_PORT
# WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: $GM_USER__SECRET
# WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: $GM_PSW__SECRET
restart: always
radarr:
environment:
- UMASK_SET=22
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
volumes:
- $PERSIST/radarr/config:/config:rw
- $MEDIA_PATH:/media:rw
- $DOWNLOADS:/downloads:rw
container_name: radarr
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: ${HEALTH_CHECK_OVERRIDE:-curl -fSs http://127.0.0.1:7878/api/system/status?apikey=}${RADARR_API_KEY__SECRET:- }|| exit 1
start_period: 45s
timeout: 10s
interval: 5s
retries: 3
ports:
- 7878:7878
restart: unless-stopped
entrypoint:
- /init
image: linuxserver/radarr:nightly
nzbhydra:
image: linuxserver/nzbhydra2
container_name: nzbhydra
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
volumes:
- $PERSIST/nzbhydra/config:/config
ports:
- 5076:5076
# labels:
# - autoheal=$AUTOHEAL_RESTART
# healthcheck:
# test: curl -fSs 127.0.0.1:5076 || exit 1
# interval: 5s
# timeout: 10s
# start_period: 60s
# retries: 3
restart: unless-stopped
tautulli:
environment:
- HOME=/root
- TERM=xterm
- TAUTULLI_DOCKER=True
- TZ=$TIME_ZONE
volumes:
- $PERSIST/tautulli/config:/config:rw
- $PERSIST/plex/config/Library/Application Support/Plex Media Server/Logs:/logs:ro
container_name: tautulli
ports:
- 8181:8181
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -ILfSs http://localhost:8181/status > /dev/null || curl -ILfkSs https://localhost:8181/status > /dev/null
start_period: 90s
timeout: 10s
interval: 5s
retries: 3
restart: 'unless-stopped'
image: tautulli/tautulli
depends_on:
plex:
condition: service_healthy
sonarr:
environment:
- UMASK_SET=22
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
volumes:
- $PERSIST/sonarr/config:/config:rw
- $MEDIA_PATH/tv:/tv:rw
- $MEDIA_PATH/anime:/anime:rw
- $DOWNLOADS:/downloads:rw
container_name: sonarr
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: ${HEALTH_CHECK_OVERRIDE:-curl -fSs http://127.0.0.1:8989/api/system/status?apikey=}${SONARR_API_KEY__SECRET:- }|| exit 1
timeout: 10s
interval: 5s
retries: 3
ports:
- 8989:8989
restart: 'unless-stopped'
entrypoint:
- /init
image: linuxserver/sonarr:develop
lazylibrarian:
environment:
- UMASK_SET=22
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- DOCKER_MODS=linuxserver/calibre-web:calibre
volumes:
- $PERSIST/lazylibrarian/config:/config:rw
- $PERSIST/lazylibrarian/books:/books:rw
- $PERSIST/lazylibrarian/comics:/comics:rw
- $PERSIST/lazylibrarian/audiobooks:/audiobooks:rw
- $DOWNLOADS:/downloads:rw
- $PERSIST/lazylibrarian/magazines:/magazines:rw
container_name: lazylibrarian
ports:
- 5299:5299
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:5299 || exit 1
start_period: 240s
timeout: 10s
interval: 5s
retries: 3
restart: 'unless-stopped'
image: linuxserver/lazylibrarian
jellyfin:
image: linuxserver/jellyfin
container_name: jellyfin
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
volumes:
- $PERSIST/jellyfin/config:/config
- $MEDIA_PATH:/media
ports:
- 8096:8096
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:8096 || exit 1
start_period: 90s
timeout: 10s
interval: 5s
retries: 3
devices:
#- /dev/dri/renderD128:/dev/dri/renderD128
#- /dev/dri/card0:/dev/dri/card0
- /dev/dri:/dev/dri
restart: unless-stopped
ombi:
image: linuxserver/ombi
container_name: ombi
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- BASE_URL=/ombi
volumes:
- $PERSIST/ombi/config:/config
ports:
- 3579:3579
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs 127.0.0.1:3579 || exit 1
start_period: 20s
interval: 5s
retries: 3
restart: unless-stopped
depends_on:
plex:
condition: service_healthy
radarr:
condition: service_healthy
sonarr:
condition: service_healthy
lidarr:
condition: service_healthy
calibre-web:
image: linuxserver/calibre-web
container_name: calibre-web
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- DOCKER_MODS=linuxserver/calibre-web:calibre
volumes:
- $PERSIST/calibre-web/config:/config
- $MEDIA_PATH/ebooks:/books:rw
ports:
- 8083:8083
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:8083 || exit 1
start_period: 500s
timeout: 10s
interval: 30s
retries: 3
depends_on:
calibre:
condition: service_healthy
restart: unless-stopped
lidarr:
image: linuxserver/lidarr:nightly
container_name: lidarr
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TIME_ZONE
- UMASK_SET=022
volumes:
- $PERSIST/lidarr/config:/config
- $MEDIA_PATH/music:/music
- $DOWNLOADS:/downloads:rw
ports:
- 8686:8686
restart: unless-stopped
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:8686 || exit 1
start_period: 90s
timeout: 20s
interval: 20s
retries: 3
pihole:
container_name: pihole
image: cbcrowe/pihole-unbound:latest
hostname: ${HOSTNAME}
domainname: ${LAN_DOMAIN_NAME}
cap_add:
- NET_ADMIN
dns:
- 127.0.0.1
- 1.1.1.1
ports:
- 6443:443/tcp
- 53:53/tcp
- 53:53/udp
- 80:80/tcp
- 22/tcp # Uncomment to enable SSH
environment:
ServerIP: $PH_SVR_IP
TZ: $TIME_ZONE
WEBPASSWORD: $PH_PSW__SECRET
REV_SERVER: ${REV_SERVER}
REV_SERVER_TARGET: ${REV_SERVER_TARGET}
REV_SERVER_DOMAIN: ${REV_SERVER_DOMAIN}
REV_SERVER_CIDR: ${REV_SERVER_CIDR}
DNS1: 127.0.0.1#5335 # Hardcoded to our Unbound server
DNS2: 127.0.0.1#5335 # Hardcoded to our Unbound server
DNSSEC: "true" # Enable DNSSEC
TEMPERATUREUNIT: c
ADMIN_EMAIL: $GM_USER__SECRET
volumes:
- '$PERSIST/pihole/etc-pihole/:/etc/pihole'
- '$PERSIST/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d'
restart: unless-stopped
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:80 || exit 1
start_period: 15s
timeout: 5s
interval: 15s
retries: 3
restart: unless-stopped
calibre:
image: linuxserver/calibre
container_name: calibre
environment:
- PUID=$PUID
- PGID=$PGID
- KEEP_APP_RUNNING=1
- TZ=$TIME_ZONE
volumes:
- $PERSIST/calibre/config:/config
- $MEDIA_PATH/ebooks:/books:rw
- $DOWNLOADS:/downloads:rw
ports:
- 7080:8080
- 7081:8081
labels:
- autoheal=$AUTOHEAL_RESTART
healthcheck:
test: curl -fSs http://127.0.0.1:8080 || exit 1
start_period: 180s
timeout: 10s
interval: 15s
retries: 3
restart: unless-stopped
autoheal:
container_name: autoheal
restart: always
environment:
- AUTOHEAL_CONTAINER_LABEL=all
- TZ=$TIME_ZONE
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
image: willfarrell/autoheal
bazarr:
image: linuxserver/bazarr
container_name: bazarr
environment:
- PUID=$PUID