-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathdocker-compose.yaml
747 lines (722 loc) · 23.9 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
##
## -------------------------
## | H T P C - D O C K E R |
## -------------------------
##
## Container based media tools configuration
##
## -- DO NOT EDIT THIS FILE --
##
## Configuration items for this file are taken from the .env file
##
## Have docker-compose.yml and .env in the same directory to launch the stack
version: '3'
######################
# SERVICES TO LAUNCH #
######################
services:
# ----------------------------------------
# PLEX
# Robust Media Server
# ----------------------------------------
plex:
container_name: plex
image: plexinc/pms-docker:${PMSTAG}
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
ports:
- '${IP_ADDRESS}:32400:32400/tcp'
- '${IP_ADDRESS}:3005:3005/tcp'
- '${IP_ADDRESS}:8324:8324/tcp'
- '${IP_ADDRESS}:32469:32469/tcp'
- '${IP_ADDRESS}:1900:1900/udp'
- '${IP_ADDRESS}:32410:32410/udp'
- '${IP_ADDRESS}:32412:32412/udp'
- '${IP_ADDRESS}:32413:32413/udp'
- '${IP_ADDRESS}:32414:32414/udp'
environment:
- TZ=${TZ}
- PLEX_UID=${PUID}
- PLEX_GID=${PGID}
- PLEX_CLAIM=${PMSTOKEN}
- ADVERTISE_IP=http://${IP_ADDRESS}:32400/
- ALLOWED_NETWORKS=${CIDR_ADDRESS}
hostname: ${HOSTNAME}
volumes:
- './plex:/config'
- './plex/transcode:/transcode'
- '/media/Media/Media/Movies:/data/movies'
- '/media/Media/Media/TVShows:/data/tvshows'
- '/media/Media/Media/Kid Movies:/data/kidmovies'
- '/media/Media/Media/Kid TV:/data/kidtvshows'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=32400'
- 'traefik.frontend.rule=Host:plex.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
# ----------------------------------------
# DELUGEVPN
# Deluge Torrent Client + VPN
# ----------------------------------------
arch-delugevpn:
image: binhex/arch-delugevpn
container_name: delugevpn
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
ports:
- '${IP_ADDRESS}:8118:8118'
- '${IP_ADDRESS}:58846:58846'
- '${IP_ADDRESS}:58946:58946'
expose:
- 8112
cap_add:
- NET_ADMIN
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- VPN_ENABLED=yes
- VPN_USER=${VPNUNAME}
- VPN_PASS=${VPNPASS}
- VPN_REMOTE=${VPN_REMOTE}
- VPN_PORT=1198
- VPN_PROTOCOL=udp
- VPN_DEVICE_TYPE=tun
- VPN_PROV=${VPNPROVIDER}
- STRONG_CERTS=no
- ENABLE_PRIVOXY=yes
- STRICT_PORT_FORWARD=yes
- LAN_NETWORK=${CIDR_ADDRESS}
- NAME_SERVERS=37.235.1.174,8.8.8.8,37.235.1.177,8.8.4.4
- DEBUG=false
volumes:
- '/media/Media/Torrents:/data'
- './delugevpn/config:/config'
- './ovpn/${VPNPROVIDER}:/config/openvpn'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=8112'
- 'traefik.frontend.rule=Host:deluge.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# SONARR
# TV Series Management
# ----------------------------------------
sonarr:
image: linuxserver/sonarr
container_name: sonarr
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 8989
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './sonarr:/config'
- '/media/Media/Torrents/Completed:/data/Completed'
- '/media/Media/Media/TVShows:/tv'
- '/media/Media/Media/Kid TV:/kidtv'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=8989'
- 'traefik.frontend.rule=Host:sonarr.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# RADARR
# Movie Management
# ----------------------------------------
radarr:
image: linuxserver/radarr
container_name: radarr
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 7878
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './radarr:/config'
- '/media/Media/Torrents/Completed:/data/Completed'
- '/media/Media/Media/Movies:/movies'
- '/media/Media/Media/Kid Movies:/kidmovies'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=7878'
- 'traefik.frontend.rule=Host:radarr.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# JACKETT
# RSS/TORZNAB Feed Creator
# ----------------------------------------
jackett:
image: linuxserver/jackett
container_name: jackett
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 9117
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './jackett:/config'
- '/media/Media/Torrents/Completed:/downloads'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=9117'
- 'traefik.frontend.rule=Host:jackett.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# TAUTULLI
# Monitoring Service for PLEX Usage
# ----------------------------------------
plexpy:
image: linuxserver/tautulli
container_name: plexpy
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 8181
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './plexpy:/config'
- './plex/Library/Application Support/Plex Media Server/Logs:/logs:ro'
- '/etc/localtime:/etc/localtime:ro'
depends_on:
- plex
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=8181'
- 'traefik.frontend.rule=Host:plexpy.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# OMBI
# Request Service for Plex Content
# ----------------------------------------
ombi:
image: linuxserver/ombi
container_name: ombi
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 3579
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './ombi:/config'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=3579'
- 'traefik.frontend.rule=Host:request.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# PORTAINER
# Docker Container Management
# ----------------------------------------
portainer:
image: portainer/portainer:latest
container_name: portainer
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 9000
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './portainer:/data'
- '/var/run/docker.sock:/var/run/docker.sock'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=9000'
- 'traefik.frontend.rule=Host:portainer.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# WATCHTOWER
# Automatic Update Service for Docker VMs
# ----------------------------------------
watchtower:
image: v2tec/watchtower
container_name: watchtower
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- internal
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- WATCHTOWER_NOTIFICATIONS=email
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=${SMTP_FROM}
- WATCHTOWER_NOTIFICATION_EMAIL_TO=${WATCHTOWER_EMAIL}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=${SMTP_SERVER}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=${SMTP_PORT}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=${SMTP_USER}
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${SMTP_PASS}
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/etc/ssl/certs:/etc/ssl/certs'
command: --schedule @midnight --cleanup
labels:
- 'traefik.enable=false'
# ----------------------------------------
# NETDATA
# System Resource Monitoring Service
# ----------------------------------------
netdata:
image: titpetric/netdata
container_name: netdata
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 19999
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
cap_add:
- SYS_PTRACE
volumes:
- '/proc:/host/proc:ro'
- '/sys:/host/sys:ro'
- '/etc/localtime:/etc/localtime:ro'
- '/var/run/docker.sock:/var/run/docker.sock'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=19999'
- 'traefik.frontend.rule=Host:netdata.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# MUXIMUX
# Web Frontend for HTPC Management
# ----------------------------------------
muximux:
image: linuxserver/muximux
container_name: muximux
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 80
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './muximux:/config'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=80'
- 'traefik.frontend.rule=Host:manage.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# DUPLICATI
# Backup Software
# ----------------------------------------
duplicati:
image: linuxserver/duplicati
container_name: duplicati
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
expose:
- 8200
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './duplicati:/config'
- '/media/Media/Media:/media'
- '/etc/localtime:/etc/localtime:ro'
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=8200'
- 'traefik.frontend.rule=Host:duplicati.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# InfluxDB
# Time Series Database
# ----------------------------------------
influxdb:
image: influxdb
container_name: influxdb
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- internal
expose:
- 8086
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- INFLUXDB_DB=speedtest; CREATE DATABASE varken;
volumes:
- './influxdb:/var/lib/influxdb'
labels:
- 'traefik.enable=false'
# ----------------------------------------
# Chronograf
# Dashboard Tool for Speedtest
# ----------------------------------------
chronograf:
image: chronograf
container_name: chronograf
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
- internal
expose:
- 8888
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './chronograf:/var/lib/chronograf'
command:
- chronograf
- --influxdb-url=http://influxdb:8086
depends_on:
- influxdb
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=8888'
- 'traefik.frontend.rule=Host:chronograf.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# Speedtest
# Speedtest-CLI and Post to InfluxDB
# ----------------------------------------
speedtest:
image: phikai/speedtest
container_name: speedtest
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- internal
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- TEST_INTERVAL=${SPEEDTEST_INTERVAL}
depends_on:
- influxdb
labels:
- 'traefik.enable=false'
# ----------------------------------------
# Varken
# Standalone Plex Data Aggeregator
# ----------------------------------------
varken:
image: boerderij/varken
container_name: varken
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- internal
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './varken:/config'
- '/etc/localtime:/etc/localtime:ro'
depends_on:
- influxdb
labels:
- 'traefik.enable=false'
# ----------------------------------------
# Grafana
# Frontend for Varken
# ----------------------------------------
grafana:
image: grafana/grafana
container_name: grafana
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
- internal
expose:
- 3000
user: "0"
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
- GF_SERVER_DOMAIN=grafana.${DOMAIN}
- GF_SERVER_ROOT_URL=https://grafana.${DOMAIN}
- GF_PATHS_DATA=/config/data
- GF_PATHS_LOGS=/config/logs
- GF_PATHS_PLUGINS=/config/plugins
- GF_INSTALL_PLUGINS=grafana-piechart-panel,grafana-worldmap-panel
- GF_SMTP_ENABLED=true
- GF_SMTP_HOST=${SMTP_SERVER}:${SMTP_PORT}
- GF_SMTP_USER=${SMTP_USER}
- GF_SMTP_PASSWORD=${SMTP_PASS}
- GF_SMTP_FROM_ADDRESS=${SMTP_FROM}
volumes:
- './grafana:/config'
depends_on:
- influxdb
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=3000'
- 'traefik.frontend.rule=Host:grafana.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
# ----------------------------------------
# HOME-ASSISTANT
# Home Automation Hub
# ----------------------------------------
homeassistant:
image: homeassistant/home-assistant:stable
container_name: home-assistant
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
network_mode: host
expose:
- 8123
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- './home-assistant:/config'
- '/etc/localtime:/etc/localtime:ro'
# ----------------------------------------
# TRAEFIK
# Reverse Proxy + SSL Support
# ----------------------------------------
traefik:
image: traefik:v1.7.16
container_name: traefik
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-file: '5'
max-size: '10m'
networks:
- web
ports:
- '80:80'
- '443:443'
- '8080:8080'
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- './traefik:/etc/traefik/acme'
- './traefik/traefik.toml:/traefik.toml'
command:
- --docker
- --api
- --loglevel=debug
- "--entryPoints=Name:https Address::443 TLS"
- "--entryPoints=Name:http Address::80 Redirect.EntryPoint:https"
- --acme.entrypoint=https
- --acme=true
- --acme.domains=${DOMAIN}
- --acme.email=${EMAIL}
- --acme.ondemand=true
- --acme.onhostrule
- --acme.httpchallenge
- --acme.httpchallenge.entrypoint=http
- --acme.storage=etc/traefik/acme/acme.json
- --docker.watch
labels:
- 'traefik.enable=true'
- 'traefik.docker.network=${STACK_NAME}_web'
- 'traefik.port=8080'
- 'traefik.frontend.rule=Host:traefik.${DOMAIN}'
- 'traefik.frontend.entryPoints=https'
- 'traefik.frontend.auth.basic=${TRAEFIK_AUTH}'
- 'traefik.frontend.headers.forceSTSHeader=true'
- 'traefik.frontend.headers.STSSeconds=315360000'
- 'traefik.frontend.headers.STSIncludeSubdomains=true'
- 'traefik.frontend.headers.STSPreload=true'
extra_hosts:
- host.docker.internal:172.17.0.1
########################
# GLOBAL CONFIGURATION #
########################
networks:
internal:
web: