-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-for-metalbox-metal-services.yml
581 lines (564 loc) · 20 KB
/
docker-compose-for-metalbox-metal-services.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
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
version: "3.9"
networks:
networks_traefik_proxy:
external: true
networks_vlan_80:
external: true
speedtest_tracker:
internal: true
services:
dns-upstream:
image: jhnrn/cloudflared:latest
container_name: "dns-upstream-${METAL_VLAN_NAME}"
command: proxy-dns
restart: always
environment:
TZ: ${TZ}
TUNNEL_METRICS: "0.0.0.0:49312"
TUNNEL_DNS_ADDRESS: "0.0.0.0"
TUNNEL_DNS_PORT: ${TUNNEL_DNS_PORT}
TUNNEL_DNS_UPSTREAM: ${TUNNEL_DNS_UPSTREAM}
networks:
networks_vlan_80:
dns:
- ${METAL_DNS_IP_ADDRESS}
healthcheck:
test: dig +short @127.0.0.1 -p${TUNNEL_DNS_PORT} cloudflare.com A || exit 1
# test: 'curl --http2 -H "accept: application/dns-json" "https://1.1.1.1/dns-query?name=cloudflare.com" || exit 1'
interval: 30s
timeout: 5s
retries: 2
labels:
- autoheal=true
pihole:
container_name: pihole-${METAL_VLAN_NAME}
hostname: pihole-${METAL_VLAN_NAME}
image: pihole/pihole:dev
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
# ports:
# - "53:53/tcp"
# - "53:53/udp"
# - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
# - "80:80/tcp"
environment:
TZ: ${TZ}
WEBPASSWORD: ${PIHOLE_WEBPASSWORD}
PIHOLE_DNS_: dns-upstream#${TUNNEL_DNS_PORT}
# Listen on all interfaces and permit all origins
# This allows Pihole to work in this setup and when answering across VLANS,
# but do not expose pi-hole to the internet!
DNSMASQ_LISTENING: all #local
DNS_BOGUS_PRIV: true
DNS_FQDN_REQUIRED: true
DHCP_ACTIVE: ${DHCP_ACTIVE}
DHCP_START: 10.100.${METAL_VLAN_ID}.${DHCP_START_OCTET:-201}
DHCP_END: 10.100.${METAL_VLAN_ID}.${DHCP_END_OCTET:-251}
DHCP_ROUTER: ${METAL_GATEWAY}
PIHOLE_DOMAIN: ${DOMAIN}
DHCP_LEASETIME: 24
WEBTHEME: default-auto
# Volumes store your data between container upgrades
volumes:
- ${DATA_STORAGE}/pihole/${METAL_VLAN_NAME}/pihole:/etc/pihole
- ${DATA_STORAGE}/pihole/${METAL_VLAN_NAME}/dnsmasq.d:/etc/dnsmasq.d
- ${DATA_STORAGE}/pihole/global/custom.list:/etc/pihole/custom.list
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
networks:
networks_vlan_80:
ipv4_address: ${METAL_DNS_IP_ADDRESS}
dns:
- 127.0.0.1
restart: unless-stopped
depends_on:
dns-upstream:
condition: service_healthy
healthcheck:
test: ping -c 1 bing.com || exit 1
# test: dig +short @127.0.0.1 pi.hole || exit 1
interval: 30s
retries: 5
labels:
- homepage.group=DNS
- homepage.weight=1000
- homepage.name=Pihole-metal
- homepage.icon=pi-hole.png
- homepage.href=http://${METAL_DNS_IP_ADDRESS}/admin
- homepage.description=for ${METAL_VLAN_NAME}
- homepage.widget.type=pihole
- homepage.widget.key=${PIHOLE_TOKEN}
- homepage.widget.url=http://${METAL_DNS_IP_ADDRESS}
# - homepage.widget.fields=["queries", "blocked", "gravity"]
cloudflared-tunnel:
image: jhnrn/cloudflared:latest
container_name: "cloudflared-tunnel"
hostname: cloudflared-tunnel
user: $PUID:$PGID
restart: always
networks:
networks_vlan_80:
dns:
- ${METAL_DNS_IP_ADDRESS}
environment:
TZ: ${TZ}
TUNNEL_METRICS: "0.0.0.0:${CLOUDFARED_METRICS_PORT}"
command:
- tunnel
- --no-autoupdate
- run
- --token
- ${CLOUDFARED_TOKEN}
labels:
- homepage.group=Network
- homepage.weight=2000
- homepage.name=Cloudflared tunnel (metalbox)
- homepage.description=for Metal
- homepage.icon=cloudflare-zero-trust.png
- homepage.widget.type=cloudflared
- homepage.widget.accountid=${CLOUDFLARED_TUNNEL_ACCOUNTID}
- homepage.widget.tunnelid=${CLOUDFLARED_TUNNEL_TUNNELID_1}
- homepage.widget.key=${CLOUDFLARE_TUNNEL_API_READ_TOKEN}
healthcheck:
test: curl -sSf 'http://localhost:${CLOUDFARED_METRICS_PORT}/healthcheck' || exit 1
interval: 10s
timeout: 5s
retries: 10
depends_on:
pihole:
condition: service_healthy
plex-music:
image: plexinc/pms-docker:plexpass
hostname: plex-music
container_name: plex-music
labels:
traefik.enable: true
traefik.http.routers.plex.rule: "Host(`music.${DOMAIN}`)"
traefik.http.routers.plex.entrypoints: web,web-secure
traefik.http.routers.plex.tls.certresolver: "certificato"
traefik.http.services.plex.loadbalancer.server.port: 32400
traefik.docker.network: networks_traefik_proxy
homepage.group: Metal
homepage.weight: 2000
homepage.name: Plex
homepage.icon: plex.png
homepage.href: https://music.${DOMAIN}/
homepage.description: for music
homepage.widget.type: plex
homepage.widget.url: http://${PLEXMUSIC_IP_ADDRESS}:32400
homepage.widget.key: ${PLEX_MUSIC_TOKEN}
autoheal: true
networks:
networks_traefik_proxy:
networks_vlan_80:
ipv4_address: ${PLEXMUSIC_IP_ADDRESS}
dns:
- ${METAL_DNS_IP_ADDRESS}
environment:
- PLEX_UID=${PUID}
- PLEX_GID=${PGID}
- PUID=${PUID}
- PGID=${PGID}
- VERSION=docker
- PLEX_CLAIM=${PLEX_CLAIM}
- TZ=${TZ}
- ALLOWED_NETWORKS=${PLEX_ALLOWED_NETWORKS}
- CHANGE_CONFIG_DIR_OWNERSHIP=true
- HOSTNAME=music.${DOMAIN}
volumes:
- ${DATA_STORAGE}/plex/config:/config
- ${MUSIC}:/media/music
restart: unless-stopped
librespeed:
image: adolfintel/speedtest
hostname: librespeed
container_name: librespeed
restart: unless-stopped
user: $PUID:$PGID
environment:
- MODE=standalone
networks:
- networks_traefik_proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.librespeed.rule=Host(`speedtest.${DOMAIN}`)"
- "traefik.http.routers.librespeed.tls.certresolver=certificato"
- traefik.http.routers.librespeed.entrypoints=web,web-secure
- "traefik.http.services.librespeed.loadbalancer.server.port=80"
- traefik.docker.network=networks_traefik_proxy
speedtest_tracker-db:
image: postgres:15
container_name: speedtest_tracker-db
restart: always
user: $PUID:$PGID
environment:
- POSTGRES_DB=speedtest_tracker
- POSTGRES_USER=${SPEEDTEST_TRACKER_POSTGRES_USER}
- POSTGRES_PASSWORD=${SPEEDTEST_TRACKER_POSTGRES_PASSWORD}
- TZ=UTC
volumes:
- ${DATA_STORAGE}/speedtest-tracker-alexjustesen/db:/var/lib/postgresql/data
networks:
speedtest_tracker:
labels:
- dev.dozzle.group=speedtest_tracker
speedtest_tracker:
image: lscr.io/linuxserver/speedtest-tracker:latest
hostname: speedtest-tracker
container_name: speedtest_tracker
environment:
- PUID=${PUID}
- PGID=${PGID}
- DB_CONNECTION=pgsql
- DB_HOST=speedtest_tracker-db
- DB_PORT=5432
- DB_DATABASE=speedtest_tracker
- DB_USERNAME=${SPEEDTEST_TRACKER_POSTGRES_USER}
- DB_PASSWORD=${SPEEDTEST_TRACKER_POSTGRES_PASSWORD}
- TZ=UTC
- APP_DEBUG=${SPEEDTRACKER_APP_DEBUG:-false}
- APP_KEY=${SPEEDTRACKER_APP_KEY}
- APP_NAME=${DOMAIN} speedtest tracker
- PUBLIC_DASHBOARD=true
volumes:
- ${DATA_STORAGE}/speedtest-tracker-alexjustesen/config:/config
- ${DATA_STORAGE}/speedtest-tracker-alexjustesen/web:/etc/ssl/web
depends_on:
- speedtest_tracker-db
networks:
speedtest_tracker:
networks_traefik_proxy:
networks_vlan_80:
ipv4_address: ${METAL_SPEEDTRACKER_IP_ADDRESS}
dns:
- ${METAL_DNS_IP_ADDRESS}
restart: unless-stopped
labels:
- dev.dozzle.group=speedtest_tracker
- "traefik.enable=true"
- "traefik.http.routers.speedtest-tracker.rule=Host(`speedtracker.${DOMAIN}`)"
- "traefik.http.routers.speedtest-tracker.tls.certresolver=certificato"
- "traefik.http.services.speedtest-tracker.loadbalancer.server.port=80"
- traefik.http.routers.speedtest-tracker.entrypoints=web,web-secure
- traefik.docker.network=networks_traefik_proxy
- homepage.group=Network
- homepage.weight=10000
- homepage.name=Speedtest
- homepage.icon=speedtest-tracker.png
- homepage.href=https://speedtracker.${DOMAIN}/
- homepage.description=Speedtest
- homepage.widget.type=speedtest
- homepage.widget.url=https://speedtracker.${DOMAIN}
# - homepage.widget.fields=["download", "upload", "ping"]
homepage:
image: ghcr.io/gethomepage/homepage:main
container_name: homepage
hostname: homepage
user: $PUID:$PGID
environment:
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
volumes:
- ${DATA_STORAGE}/homepage:/app/config # Make sure your local config directory exists
# - /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
networks:
networks_traefik_proxy:
networks_vlan_80:
ipv4_address: ${METAL_HOMEPAGE_DASHBOARD_IP_ADDRESS}
dns:
- ${METAL_DNS_IP_ADDRESS}
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.homepage.rule: "Host(`www.${DOMAIN}`)"
traefik.http.routers.homepage.tls.certresolver: "certificato"
traefik.http.routers.homepage.middlewares: quantum-ipallowlist
traefik.http.services.homepage.loadbalancer.server.port: 3000
traefik.http.routers.homepage.entrypoints: web,web-secure
traefik.docker.network: networks_traefik_proxy
qbittorrent:
image: ${QBITTORRENT_IMAGE}
# image: ghcr.io/hotio/qbittorrent
# image: lscr.io/linuxserver/qbittorrent:latest
hostname: qbittorrent
container_name: qbittorrent
deploy:
resources:
limits:
memory: 1G
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
- WEBUI_PORT=${QBITTORRENT_PORT}
- WEBUI_PORTS=${QBITTORRENT_PORTS}
- TORRENTING_PORT=${QBITTORRENT_TORRENTING_PORT}
volumes:
- ${QBITTORRENT_CONFIG_DATA_STORAGE}:/config
- ${QBITTORRENT_CONFIG_DATA_STORAGE}/healthcheck.sh:/healthcheck.sh
- ${QBITTORRENT_CONFIG_DATA_STORAGE}/forwarded_port.dat:/forwarded_port.dat
- ${QBITTORRENT_CONFIG_DATA_STORAGE}/healthcheck.log:/healthcheck.log
- ${TORRENTS}:/downloads #optional
networks:
networks_vlan_80:
ipv4_address: ${QBITTORRENT_IP_ADDRESS}
networks_traefik_proxy:
dns:
- ${METAL_DNS_IP_ADDRESS}
healthcheck:
test: ["CMD", "/healthcheck.sh"]
interval: 20s
timeout: 10s
start_period: 30s
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.qbittorrent.rule=Host(`torrent.${DOMAIN}`)
- traefik.http.routers.qbittorrent.tls.certresolver=certificato
- traefik.http.routers.qbittorrent.entrypoints=web,web-secure
- traefik.http.routers.qbittorrent.middlewares=quantum_metal-ipallowlist
- traefik.http.services.qbittorrent.loadbalancer.server.port=${QBITTORRENT_PORT}
- traefik.docker.network=networks_traefik_proxy
- autoheal=true
- homepage.group=Metal
- homepage.name=Qbittorrent
- homepage.weight=4000
- homepage.icon=qbittorrent.png
- homepage.href=https://torrent.${DOMAIN}/
- homepage.description=Qbittorrent
- homepage.widget.type=qbittorrent
- homepage.widget.username=admin
- homepage.widget.password=${QBITTORRENT_PASSWORD}
- homepage.widget.url=https://torrent.${DOMAIN}
# - homepage.widget.fields=["leech","download", "seed", "upload"]
overseerr:
image: sctx/overseerr:latest
hostname: overseerr
container_name: overseerr
user: $PUID:$PGID
environment:
- LOG_LEVEL=debug
- TZ=${TZ}
- PORT=5055 #optional
volumes:
- ${DATA_STORAGE}/overseerr:/app/config
restart: unless-stopped
networks:
networks_traefik_proxy:
networks_vlan_80:
dns:
- ${METAL_DNS_IP_ADDRESS}
labels:
- traefik.enable=true
- traefik.http.routers.overseerr.rule=Host(`fetch.${DOMAIN}`)
- traefik.http.routers.overseerr.tls.certresolver=certificato
- traefik.http.routers.overseerr.entrypoints=web,web-secure
- traefik.http.routers.overseerr.middlewares=quantum_metal-ipallowlist
- traefik.http.services.overseerr.loadbalancer.server.port=5055
- traefik.docker.network=networks_traefik_proxy
- homepage.group=Metal
- homepage.weight=3000
- homepage.name=Overseerr
- homepage.icon=overseerr.png
- homepage.href=https://fetch.${DOMAIN}/
- homepage.description=Overseerr
- homepage.widget.type=overseerr
- homepage.widget.key=${OVERSEERR_API_KEY}
- homepage.widget.url=https://fetch.${DOMAIN}
# - homepage.widget.fields=["pending", "approved", "available", "processing"]
autoheal:
image: jhnrn/docker-autoheal:latest
container_name: "autoheal"
restart: always
environment:
TZ: ${TZ}
AUTOHEAL_CONTAINER_LABEL: autoheal
volumes:
- /var/run/docker.sock:/var/run/docker.sock
network_mode: none
glances:
image: nicolargo/glances:latest-full
container_name: glances
restart: unless-stopped
pid: host
privileged: true
networks:
networks_vlan_80:
networks_traefik_proxy:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- ${DATA_STORAGE}/glances/glances.conf:/glances/conf/glances.conf
environment:
- GLANCES_OPT=-w
- TZ=${TZ}
labels:
- traefik.enable=true
- traefik.http.routers.glances.rule=Host(`glancesmb.${DOMAIN}`)
- traefik.http.routers.glances.tls.certresolver=certificato
- traefik.http.routers.glances.entrypoints=web,web-secure
- traefik.http.routers.glances.middlewares=quantum_metal-ipallowlist
- traefik.http.services.glances.loadbalancer.server.port=61208
- traefik.docker.network=networks_traefik_proxy
whoogle-search:
image: ${WHOOGLE_IMAGE:-benbusby/whoogle-search}
container_name: whoogle-search
restart: unless-stopped
pids_limit: 50
mem_limit: 256mb
memswap_limit: 256mb
# user debian-tor from tor package
user: whoogle
security_opt:
- no-new-privileges
cap_drop:
- ALL
tmpfs:
- /config/:size=10M,uid=927,gid=927,mode=1700
- /var/lib/tor/:size=15M,uid=927,gid=927,mode=1700
- /run/tor/:size=1M,uid=927,gid=927,mode=1700
#environment: # Uncomment to configure environment variables
# Basic auth configuration, uncomment to enable
#- WHOOGLE_USER=<auth username>
#- WHOOGLE_PASS=<auth password>
# Proxy configuration, uncomment to enable
#- WHOOGLE_PROXY_USER=<proxy username>
#- WHOOGLE_PROXY_PASS=<proxy password>
#- WHOOGLE_PROXY_TYPE=<proxy type (http|https|socks4|socks5)
#- WHOOGLE_PROXY_LOC=<proxy host/ip>
# Site alternative configurations, uncomment to enable
# Note: If not set, the feature will still be available
# with default values.
#- WHOOGLE_ALT_TW=farside.link/nitter
#- WHOOGLE_ALT_YT=farside.link/invidious
#- WHOOGLE_ALT_IG=farside.link/bibliogram/u
#- WHOOGLE_ALT_RD=farside.link/libreddit
#- WHOOGLE_ALT_MD=farside.link/scribe
#- WHOOGLE_ALT_TL=farside.link/lingva
#- WHOOGLE_ALT_IMG=farside.link/rimgo
#- WHOOGLE_ALT_WIKI=farside.link/wikiless
#- WHOOGLE_ALT_IMDB=farside.link/libremdb
#- WHOOGLE_ALT_QUORA=farside.link/quetre
#env_file: # Alternatively, load variables from whoogle.env
#- whoogle.env
# ports:
# - 5000:5000
networks:
networks_traefik_proxy:
networks_vlan_80:
ipv4_address: ${METAL_WHOOGLE_IP_ADDRESS}
dns:
- ${METAL_DNS_IP_ADDRESS}
labels:
- traefik.enable=true
- traefik.http.routers.whoogle.rule=Host(`whoogle.${DOMAIN}`)
- traefik.http.routers.whoogle.tls.certresolver=certificato
- traefik.http.routers.whoogle.entrypoints=web,web-secure
- traefik.http.routers.whoogle.middlewares=quantum-ipallowlist
- traefik.http.services.whoogle.loadbalancer.server.port=5000
- traefik.docker.network=networks_traefik_proxy
- autoheal=true
cobalt-api:
image: ghcr.io/wukko/cobalt:latest
restart: unless-stopped
container_name: cobalt-api
init: true
# if container doesn't run detached on your machine, uncomment the next line:
#tty: true
networks:
networks_traefik_proxy:
networks_vlan_80:
dns:
- ${METAL_DNS_IP_ADDRESS}
# ports:
# - 9000:9000/tcp
# if you're using a reverse proxy, uncomment the next line:
#- 127.0.0.1:9000:9000
environment:
- apiPort=9000
# replace apiURL with your instance's target url in same format
- apiURL=https://ytdl-api.${DOMAIN}/
# replace apiName with your instance's distinctive name
- apiName=ytdl-api
# if you want to use cookies when fetching data from services, uncomment the next line
#- cookiePath=/cookies.json
# see src/modules/processing/cookie/cookies_example.json for example file.
# labels:
# if you want to use cookies when fetching data from services, uncomment volumes and next line
#volumes:
#- ./cookies.json:/cookies.json
labels:
- dev.dozzle.group=cobalt
- traefik.enable=true
- traefik.http.routers.ytdl-api.rule=Host(`ytdl-api.${DOMAIN}`)
- traefik.http.routers.ytdl-api.tls.certresolver=certificato
- traefik.http.routers.ytdl-api.entrypoints=web,web-secure
- traefik.http.services.ytdl-api.loadbalancer.server.port=9000
- traefik.docker.network=networks_traefik_proxy
cobalt-web:
image: ghcr.io/wukko/cobalt:latest
restart: unless-stopped
container_name: cobalt-web
init: true
# if container doesn't run detached on your machine, uncomment the next line:
#tty: true
networks:
networks_traefik_proxy:
# ports:
# - 9001:9001/tcp
# if you're using a reverse proxy, uncomment the next line:
# - 127.0.0.1:9001:9001
environment:
- webPort=9001
# replace webURL with your instance's target url in same format
- webURL=https://ytdl.${DOMAIN}/
# replace apiURL with preferred api instance url
- apiURL=https://ytdl-api.${DOMAIN}/
labels:
- dev.dozzle.group=cobalt
- traefik.enable=true
- traefik.http.routers.ytdl.rule=Host(`ytdl.${DOMAIN}`)
- traefik.http.routers.ytdl.tls.certresolver=certificato
- traefik.http.routers.ytdl.entrypoints=web,web-secure
- traefik.http.routers.ytdl.middlewares=quantum-ipallowlist
- traefik.http.services.ytdl.loadbalancer.server.port=9001
- traefik.docker.network=networks_traefik_proxy
# flood:
# image: jesec/flood:latest
# container_name: flood
# restart: always
# depends_on:
# - qbittorrent
# user: $PUID:$PGID
# volumes:
# - ${DATA_STORAGE}/qbittorrent/qbittorrent:/qbittorrent
# - ${DATA_STORAGE}/flood:/config
# - ${TORRENTS}:/downloads:ro
# - /etc/localtime:/etc/localtime:ro
# networks:
# networks_traefik_proxy:
# command:
# - --auth=none
# - --qburl=http://qbittorrent:${QBITTORRENT_PORT}
# - --qbuser=$QBITTORRENT_USERNAME
# - --qbpass=$QBITTORRENT_PASSWORD
# - --rundir=/qbittorrent
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# max-file: "10"
# labels:
# - "traefik.enable=true"
# ## HTTP Routers
# - traefik.http.routers.flood-rtr.rule=Host(`flood.$DOMAIN`)
# - traefik.http.routers.flood-rtr.entrypoints=web,web-secure
# - traefik.http.routers.flood-rtr.tls.certresolver=certificato
# ## Middlewares
# ## HTTP Services
# - traefik.http.routers.flood-rtr.service=flood-svc
# - traefik.http.services.flood-svc.loadbalancer.server.port=3000
# - traefik.docker.network=networks_traefik_proxy
# ## Diun
# - diun.enable=true