2022-02-19 23:17:15 +01:00
|
|
|
services:
|
2022-04-18 00:59:35 +02:00
|
|
|
traefik:
|
2023-10-08 23:36:31 +02:00
|
|
|
image: traefik:v2.10
|
2022-04-18 00:59:35 +02:00
|
|
|
container_name: traefik
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2022-12-31 01:05:22 +01:00
|
|
|
environment:
|
|
|
|
- CLOUDFLARE_EMAIL=${CLOUDFLARE_EMAIL}
|
|
|
|
- CLOUDFLARE_DNS_API_TOKEN=${CLOUDFLARE_DNS_API_TOKEN}
|
|
|
|
- CLOUDFLARE_ZONE_API_TOKEN=${CLOUDFLARE_ZONE_API_TOKEN}
|
|
|
|
- LETS_ENCRYPT_EMAIL=${LETS_ENCRYPT_EMAIL}
|
2022-04-18 00:59:35 +02:00
|
|
|
command:
|
2023-10-09 00:41:24 +02:00
|
|
|
- --ping=true
|
2022-04-18 00:59:35 +02:00
|
|
|
- --providers.docker=true
|
|
|
|
- --providers.docker.exposedbydefault=false
|
|
|
|
- --entrypoints.web.address=:80
|
|
|
|
- --entrypoints.web-secure.address=:443
|
|
|
|
- --entrypoints.web.http.redirections.entryPoint.to=web-secure
|
|
|
|
- --entrypoints.web.http.redirections.entryPoint.scheme=https
|
|
|
|
- --entrypoints.web.http.redirections.entrypoint.permanent=true
|
2023-06-01 06:20:58 +02:00
|
|
|
- --experimental.plugins.rewrite-body.modulename=github.com/packruler/rewrite-body
|
|
|
|
- --experimental.plugins.rewrite-body.version=v1.2.0
|
|
|
|
- --experimental.plugins.rewriteHeaders.modulename=github.com/XciD/traefik-plugin-rewrite-headers
|
|
|
|
- --experimental.plugins.rewriteHeaders.version=v0.0.3
|
2023-05-13 21:49:14 +02:00
|
|
|
- --certificatesresolvers.myresolver.acme.dnschallenge=${DNS_CHALLENGE:-true}
|
2023-03-26 23:45:47 +02:00
|
|
|
- --certificatesresolvers.myresolver.acme.dnschallenge.provider=${DNS_CHALLENGE_PROVIDER:-cloudflare}
|
2023-07-28 22:33:04 +02:00
|
|
|
- --certificatesresolvers.myresolver.acme.dnschallenge.resolvers=1.1.1.1:53,8.8.8.8:53
|
2023-05-13 21:49:14 +02:00
|
|
|
- --certificatesresolvers.myresolver.acme.caserver=${LETS_ENCRYPT_CA_SERVER:-https://acme-v02.api.letsencrypt.org/directory}
|
2022-12-31 01:05:22 +01:00
|
|
|
- --certificatesresolvers.myresolver.acme.email=${LETS_ENCRYPT_EMAIL}
|
|
|
|
- --certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json
|
2022-04-18 00:59:35 +02:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
volumes:
|
2022-12-31 01:05:22 +01:00
|
|
|
- ./letsencrypt:/letsencrypt
|
2022-04-18 00:59:35 +02:00
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
2024-01-19 05:06:58 +01:00
|
|
|
extra_hosts:
|
|
|
|
- host.docker.internal:172.17.0.1
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "traefik", "healthcheck", "--ping" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2022-02-19 23:17:15 +01:00
|
|
|
sonarr:
|
|
|
|
image: lscr.io/linuxserver/sonarr
|
|
|
|
container_name: sonarr
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
2023-03-26 23:17:42 +02:00
|
|
|
- TZ=${TIMEZONE}
|
2022-02-19 23:17:15 +01:00
|
|
|
volumes:
|
|
|
|
- ./sonarr:/config
|
2022-04-16 23:53:29 +02:00
|
|
|
- ${DATA_ROOT}:/data
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:8989/sonarr/ping" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2022-04-18 00:59:35 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2023-03-26 23:37:11 +02:00
|
|
|
- traefik.http.routers.sonarr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/sonarr`))
|
2022-04-18 00:59:35 +02:00
|
|
|
- traefik.http.routers.sonarr.tls=true
|
2022-12-31 01:05:22 +01:00
|
|
|
- traefik.http.routers.sonarr.tls.certresolver=myresolver
|
|
|
|
- traefik.http.services.sonarr.loadbalancer.server.port=8989
|
2023-05-14 06:19:04 +02:00
|
|
|
- homepage.group=Media
|
|
|
|
- homepage.name=Sonarr
|
|
|
|
- homepage.icon=sonarr.png
|
|
|
|
- homepage.href=/sonarr
|
|
|
|
- homepage.description=Series management
|
|
|
|
- homepage.weight=0
|
|
|
|
- homepage.widget.type=sonarr
|
|
|
|
- homepage.widget.url=http://sonarr:8989/sonarr
|
|
|
|
- homepage.widget.key=${SONARR_API_KEY}
|
2022-02-19 23:17:15 +01:00
|
|
|
radarr:
|
|
|
|
image: lscr.io/linuxserver/radarr
|
|
|
|
container_name: radarr
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
2023-03-26 23:17:42 +02:00
|
|
|
- TZ=${TIMEZONE}
|
2022-02-19 23:17:15 +01:00
|
|
|
volumes:
|
|
|
|
- ./radarr:/config
|
2022-04-16 23:53:29 +02:00
|
|
|
- ${DATA_ROOT}:/data
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:7878/radarr/ping" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2022-04-18 00:59:35 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2023-03-26 23:37:11 +02:00
|
|
|
- traefik.http.routers.radarr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/radarr`))
|
2022-04-18 00:59:35 +02:00
|
|
|
- traefik.http.routers.radarr.tls=true
|
2022-12-31 01:05:22 +01:00
|
|
|
- traefik.http.routers.radarr.tls.certresolver=myresolver
|
2022-04-18 00:59:35 +02:00
|
|
|
- traefik.http.services.radarr.loadbalancer.server.port=7878
|
2023-05-14 06:19:04 +02:00
|
|
|
- homepage.group=Media
|
|
|
|
- homepage.name=Radarr
|
|
|
|
- homepage.icon=radarr.png
|
|
|
|
- homepage.href=/radarr
|
|
|
|
- homepage.description=Movies management
|
|
|
|
- homepage.weight=1
|
|
|
|
- homepage.widget.type=radarr
|
|
|
|
- homepage.widget.url=http://radarr:7878/radarr
|
|
|
|
- homepage.widget.key=${RADARR_API_KEY}
|
2023-08-18 05:24:28 +02:00
|
|
|
lidarr:
|
|
|
|
image: lscr.io/linuxserver/lidarr
|
|
|
|
container_name: lidarr
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
volumes:
|
|
|
|
- ./lidarr:/config
|
|
|
|
- ${DATA_ROOT}:/data
|
|
|
|
restart: always
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:8686/lidarr/ping" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2023-08-18 05:24:28 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.lidarr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/lidarr`))
|
|
|
|
- traefik.http.routers.lidarr.tls=true
|
|
|
|
- traefik.http.routers.lidarr.tls.certresolver=myresolver
|
|
|
|
- traefik.http.services.lidarr.loadbalancer.server.port=8686
|
|
|
|
- homepage.group=Media
|
|
|
|
- homepage.name=Lidarr
|
|
|
|
- homepage.icon=lidarr.png
|
|
|
|
- homepage.href=/lidarr
|
|
|
|
- homepage.description=Music management
|
|
|
|
- homepage.weight=2
|
|
|
|
- homepage.widget.type=lidarr
|
|
|
|
- homepage.widget.url=http://lidarr:8686/lidarr
|
|
|
|
- homepage.widget.key=${LIDARR_API_KEY}
|
2023-12-26 18:09:00 +01:00
|
|
|
profiles:
|
|
|
|
- lidarr
|
2024-01-28 16:27:55 +01:00
|
|
|
bazarr:
|
|
|
|
image: lscr.io/linuxserver/bazarr
|
|
|
|
container_name: bazarr
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
volumes:
|
|
|
|
- ./bazarr/config:/config
|
|
|
|
- ${DATA_ROOT}:/data
|
|
|
|
restart: always
|
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:6767/bazarr/ping" ]
|
|
|
|
interval: 5s
|
|
|
|
retries: 10
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.bazarr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/bazarr`))
|
|
|
|
- traefik.http.routers.bazarr.tls=true
|
|
|
|
- traefik.http.routers.bazarr.tls.certresolver=myresolver
|
|
|
|
- traefik.http.services.bazarr.loadbalancer.server.port=6767
|
2024-03-09 21:40:26 +01:00
|
|
|
- homepage.group=Download
|
2024-01-28 16:27:55 +01:00
|
|
|
- homepage.name=Bazarr
|
|
|
|
- homepage.icon=bazarr.png
|
|
|
|
- homepage.href=/bazarr
|
|
|
|
- homepage.description=Subtitles management
|
2024-03-09 21:40:26 +01:00
|
|
|
- homepage.weight=4
|
2024-01-28 16:27:55 +01:00
|
|
|
- homepage.widget.type=bazarr
|
|
|
|
- homepage.widget.url=http://bazarr:6767/bazarr
|
|
|
|
- homepage.widget.key=${BAZARR_API_KEY}
|
2023-05-25 19:13:39 +02:00
|
|
|
jellyseerr:
|
|
|
|
image: fallenbagel/jellyseerr:latest
|
|
|
|
container_name: jellyseerr
|
|
|
|
environment:
|
|
|
|
- LOG_LEVEL=debug
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
volumes:
|
|
|
|
- ./jellyseerr:/app/config
|
|
|
|
restart: always
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "wget", "http://127.0.0.1:5055/api/v1/status", "-qO", "/dev/null"]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2023-05-25 19:13:39 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2023-06-01 06:20:58 +02:00
|
|
|
- traefik.http.routers.jellyseerr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/jellyseerr`))
|
2023-05-25 21:08:12 +02:00
|
|
|
- traefik.http.routers.jellyseerr.tls=true
|
2023-05-25 19:13:39 +02:00
|
|
|
- traefik.http.routers.jellyseerr.tls.certresolver=myresolver
|
2023-05-25 21:08:12 +02:00
|
|
|
- traefik.http.services.jellyseerr.loadbalancer.server.port=5055
|
2023-06-01 06:20:58 +02:00
|
|
|
- traefik.http.routers.jellyseerr.middlewares=jellyseerr-stripprefix,jellyseerr-rewrite,jellyseerr-rewriteHeaders
|
|
|
|
- traefik.http.middlewares.jellyseerr-stripprefix.stripPrefix.prefixes=/jellyseerr
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewriteHeaders.plugin.rewriteHeaders.rewrites[0].header=location
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewriteHeaders.plugin.rewriteHeaders.rewrites[0].regex=^/(.+)$
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewriteHeaders.plugin.rewriteHeaders.rewrites[0].replacement=/jellyseerr/$1
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewriteHeaders.plugin.rewriteHeaders.rewrites[1].header=location
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewriteHeaders.plugin.rewriteHeaders.rewrites[1].regex=^/$
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewriteHeaders.plugin.rewriteHeaders.rewrites[1].replacement=/jellyseerr
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.monitoring.types[0]=text/html
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.monitoring.types[1]=application/javascript
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.monitoring.types[2]=*/*
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[1].regex=/_next
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[1].replacement=/jellyseerr/_next
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[2].regex=\/_next\\/data\\//
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[2].replacement=\/jellyseerr\/_next\/data\//
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[3].regex=/api/v1
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[3].replacement=/jellyseerr/api/v1
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[4].regex=/login/plex/loading
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[4].replacement=/jellyseerr/login/plex/loading
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[5].regex=/images/
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[5].replacement=/jellyseerr/images/
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[6].regex=/favicon
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[6].replacement=/jellyseerr/favicon
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[7].regex=/logo_
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[7].replacement=/jellyseerr/logo_
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[8].regex=/site.webmanifest
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[8].replacement=/jellyseerr/site.webmanifest
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[9].regex=/sw.js
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[9].replacement=/jellyseerr/sw.js
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[10].regex=/offline.html
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[10].replacement=/jellyseerr/offline.html
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[11].regex=src="/os_logo_square.png"
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[11].replacement=src="/jellyseerr/os_logo_square.png"
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[12].regex=href="/(.*)"
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[12].replacement=href="/jellyseerr/$1"
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[13].regex=linkUrl:"/(.*)"
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[13].replacement=linkUrl:"/jellyseerr/$1"
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[14].regex="/([a-z]+)/".concat
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[14].replacement="/jellyseerr/$1/".concat
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[15].regex=url:"/(.*)"
|
|
|
|
- traefik.http.middlewares.jellyseerr-rewrite.plugin.rewrite-body.rewrites[15].replacement=url:"/jellyseerr/$1"
|
2023-05-25 19:13:39 +02:00
|
|
|
- homepage.group=Media
|
|
|
|
- homepage.name=JellySeerr
|
|
|
|
- homepage.icon=jellyseerr.png
|
2023-06-01 06:20:58 +02:00
|
|
|
- homepage.href=/jellyseerr
|
2023-05-25 21:08:12 +02:00
|
|
|
- homepage.description=Content Recommendations and Request Management
|
2023-05-25 19:13:39 +02:00
|
|
|
- homepage.weight=2
|
|
|
|
- homepage.widget.type=jellyseerr
|
|
|
|
- homepage.widget.url=http://jellyseerr:5055
|
|
|
|
- homepage.widget.key=${JELLYSEERR_API_KEY}
|
2022-02-19 23:17:15 +01:00
|
|
|
prowlarr:
|
2023-02-17 06:41:26 +01:00
|
|
|
image: lscr.io/linuxserver/prowlarr:latest
|
2022-02-19 23:17:15 +01:00
|
|
|
container_name: prowlarr
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
2023-03-26 23:17:42 +02:00
|
|
|
- TZ=${TIMEZONE}
|
2022-02-19 23:17:15 +01:00
|
|
|
volumes:
|
|
|
|
- ./prowlarr:/config
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:9696/prowlarr/ping" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2022-04-18 00:59:35 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2023-03-26 23:37:11 +02:00
|
|
|
- traefik.http.routers.prowlarr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/prowlarr`))
|
2022-04-18 00:59:35 +02:00
|
|
|
- traefik.http.routers.prowlarr.tls=true
|
2022-12-31 01:05:22 +01:00
|
|
|
- traefik.http.routers.prowlarr.tls.certresolver=myresolver
|
2022-04-18 00:59:35 +02:00
|
|
|
- traefik.http.services.prowlarr.loadbalancer.server.port=9696
|
2023-05-14 06:19:04 +02:00
|
|
|
- homepage.group=Download
|
|
|
|
- homepage.name=Prowlarr
|
|
|
|
- homepage.icon=prowlarr.png
|
|
|
|
- homepage.href=/prowlarr
|
|
|
|
- homepage.description=Indexers management
|
2024-03-09 21:40:26 +01:00
|
|
|
- homepage.weight=1
|
2023-05-14 06:19:04 +02:00
|
|
|
- homepage.widget.type=prowlarr
|
|
|
|
- homepage.widget.url=http://prowlarr:9696/prowlarr
|
|
|
|
- homepage.widget.key=${PROWLARR_API_KEY}
|
2024-01-02 00:24:40 +01:00
|
|
|
flaresolverr:
|
|
|
|
image: ghcr.io/flaresolverr/flaresolverr:latest
|
|
|
|
container_name: flaresolverr
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- LOG_LEVEL=${LOG_LEVEL:-info}
|
|
|
|
- LOG_HTML=${LOG_HTML:-false}
|
|
|
|
- CAPTCHA_SOLVER=${CAPTCHA_SOLVER:-none}
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.flaresolverr.rule=PathPrefix(`/flaresolverr`)
|
|
|
|
- traefik.http.routers.flaresolverr.tls=true
|
|
|
|
- traefik.http.services.flaresolverr.loadbalancer.server.port=8191
|
|
|
|
profiles:
|
|
|
|
- flaresolverr
|
2022-02-19 23:17:15 +01:00
|
|
|
qbittorrent:
|
2023-02-16 05:15:12 +01:00
|
|
|
image: lscr.io/linuxserver/qbittorrent:libtorrentv1
|
2022-02-19 23:17:15 +01:00
|
|
|
container_name: qbittorrent
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
- WEBUI_PORT=8080
|
2024-01-14 15:19:52 +01:00
|
|
|
- DOCKER_MODS=ghcr.io/gabe565/linuxserver-mod-vuetorrent
|
2022-02-19 23:17:15 +01:00
|
|
|
volumes:
|
|
|
|
- ./qbittorrent:/config
|
2022-04-16 23:53:29 +02:00
|
|
|
- ${DOWNLOAD_ROOT}:/data/torrents
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
2023-11-10 17:37:38 +01:00
|
|
|
# Container may fail if the PIA's token expired, so mark as unhealthy when there is no internet connection
|
|
|
|
# see: https://github.com/qdm12/gluetun/issues/641#issuecomment-933856220
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:8080", "https://google.com" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2022-02-19 23:17:15 +01:00
|
|
|
network_mode: "service:vpn"
|
|
|
|
depends_on:
|
2023-05-13 21:00:57 +02:00
|
|
|
vpn:
|
|
|
|
condition: service_healthy
|
2022-04-18 00:59:35 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2023-03-26 23:37:11 +02:00
|
|
|
- traefik.http.routers.qbittorrent.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/qbittorrent`))
|
2022-04-18 00:59:35 +02:00
|
|
|
- traefik.http.routers.qbittorrent.tls=true
|
2022-12-31 01:05:22 +01:00
|
|
|
- traefik.http.routers.qbittorrent.tls.certresolver=myresolver
|
2022-04-18 00:59:35 +02:00
|
|
|
- traefik.http.services.qbittorrent.loadbalancer.server.port=8080
|
|
|
|
- traefik.http.routers.qbittorrent.middlewares=qbittorrent-strip-slash,qbittorrent-stripprefix
|
|
|
|
# https://github.com/qbittorrent/qBittorrent/issues/5693#issuecomment-552146296
|
|
|
|
- traefik.http.middlewares.qbittorrent-stripprefix.stripPrefix.prefixes=/qbittorrent
|
|
|
|
# https://community.traefik.io/t/middleware-to-add-the-if-needed/1895/19
|
|
|
|
- traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.regex=(^.*\/qbittorrent$$)
|
|
|
|
- traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.replacement=$$1/
|
|
|
|
- traefik.http.middlewares.qbittorrent-strip-slash.redirectregex.permanent=false
|
2022-09-26 17:15:24 +02:00
|
|
|
#- com.centurylinklabs.watchtower.depends-on=/vpn
|
2023-05-14 06:19:04 +02:00
|
|
|
- homepage.group=Download
|
|
|
|
- homepage.name=qBittorrent
|
|
|
|
- homepage.icon=qbittorrent.png
|
|
|
|
- homepage.href=/qbittorrent
|
|
|
|
- homepage.description=Bittorrent client
|
2024-03-09 21:40:26 +01:00
|
|
|
- homepage.weight=2
|
2023-05-14 06:19:04 +02:00
|
|
|
- homepage.widget.type=qbittorrent
|
|
|
|
- homepage.widget.url=http://vpn:8080
|
2023-05-25 22:44:43 +02:00
|
|
|
- homepage.widget.username=${QBITTORRENT_USERNAME}
|
|
|
|
- homepage.widget.password=${QBITTORRENT_PASSWORD}
|
2022-02-19 23:17:15 +01:00
|
|
|
vpn:
|
|
|
|
image: thrnz/docker-wireguard-pia
|
|
|
|
container_name: vpn
|
|
|
|
volumes:
|
|
|
|
- ./pia:/pia
|
|
|
|
- ./pia-shared:/pia-shared
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- SYS_MODULE
|
|
|
|
environment:
|
|
|
|
- LOC=${PIA_LOCATION}
|
|
|
|
- USER=${PIA_USER}
|
|
|
|
- PASS=${PIA_PASS}
|
|
|
|
- LOCAL_NETWORK=${PIA_LOCAL_NETWORK}
|
|
|
|
- PORT_FORWARDING=1
|
2023-03-26 22:54:01 +02:00
|
|
|
- PORT_PERSIST=1
|
2022-02-19 23:17:15 +01:00
|
|
|
- PORT_SCRIPT=/pia-shared/portupdate-qbittorrent.sh
|
|
|
|
sysctls:
|
|
|
|
- net.ipv4.conf.all.src_valid_mark=1
|
|
|
|
- net.ipv6.conf.default.disable_ipv6=1
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=1
|
|
|
|
- net.ipv6.conf.lo.disable_ipv6=1
|
|
|
|
healthcheck:
|
|
|
|
test: ping -c 1 www.google.com || exit 1
|
|
|
|
interval: 30s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2022-09-05 06:13:53 +02:00
|
|
|
labels:
|
|
|
|
# network mode is not supported: https://github.com/containrrr/watchtower/issues/1286#issuecomment-1214291660
|
|
|
|
- com.centurylinklabs.watchtower.enable=false
|
2023-12-19 05:56:44 +01:00
|
|
|
unpackerr:
|
|
|
|
image: golift/unpackerr
|
|
|
|
container_name: unpackerr
|
|
|
|
volumes:
|
|
|
|
- ${DOWNLOAD_ROOT}:/data/torrents
|
|
|
|
restart: always
|
|
|
|
user: ${USER_ID}:${GROUP_ID}
|
|
|
|
environment:
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
- UN_SONARR_0_URL=http://sonarr:8989/sonarr
|
|
|
|
- UN_SONARR_0_API_KEY=${SONARR_API_KEY}
|
|
|
|
- UN_RADARR_0_URL=http://radarr:7878/radarr
|
|
|
|
- UN_RADARR_0_API_KEY=${RADARR_API_KEY}
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
2024-01-02 00:24:40 +01:00
|
|
|
sabnzbd:
|
|
|
|
image: lscr.io/linuxserver/sabnzbd:latest
|
|
|
|
container_name: sabnzbd
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
volumes:
|
|
|
|
- ./sabnzbd:/config
|
|
|
|
- ${DATA_ROOT}:/data
|
|
|
|
restart: always
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.sabnzbd.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/sabnzbd`) || PathPrefix(`/sabnzbd`))
|
|
|
|
- traefik.http.routers.sabnzbd.tls=true
|
|
|
|
- traefik.http.routers.sabnzbd.tls.certresolver=myresolver
|
|
|
|
- traefik.http.services.sabnzbd.loadbalancer.server.port=8080
|
2024-01-02 00:59:44 +01:00
|
|
|
- homepage.group=Download
|
2024-01-02 00:24:40 +01:00
|
|
|
- homepage.name=Sabnzbd
|
|
|
|
- homepage.icon=sabnzbd.png
|
|
|
|
- homepage.href=/sabnzbd
|
|
|
|
- homepage.description=Usenet
|
2024-03-09 21:40:26 +01:00
|
|
|
- homepage.weight=3
|
2024-01-02 00:59:44 +01:00
|
|
|
- homepage.widget.type=sabnzbd
|
|
|
|
- homepage.widget.url=http://sabnzbd:8080/sabnzbd
|
|
|
|
- homepage.widget.key=${SABNZBD_API_KEY}
|
2024-01-02 00:24:40 +01:00
|
|
|
profiles:
|
|
|
|
- sabnzbd
|
2023-02-13 06:42:29 +01:00
|
|
|
jellyfin:
|
|
|
|
image: lscr.io/linuxserver/jellyfin
|
|
|
|
container_name: jellyfin
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
- JELLYFIN_PublishedServerUrl=${HOSTNAME}/jellyfin
|
|
|
|
volumes:
|
|
|
|
- ./jellyfin:/config
|
|
|
|
- ${DATA_ROOT}:/data
|
|
|
|
ports:
|
|
|
|
- "7359:7359/udp"
|
|
|
|
- "1900:1900/udp"
|
|
|
|
devices:
|
|
|
|
- /dev/dri/renderD128:/dev/dri/renderD128
|
|
|
|
- /dev/dri/card0:/dev/dri/card0
|
|
|
|
restart: always
|
2023-10-09 00:41:24 +02:00
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:8096/jellyfin/health" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2023-10-09 00:41:24 +02:00
|
|
|
retries: 10
|
2023-02-13 06:42:29 +01:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2023-03-26 23:37:11 +02:00
|
|
|
- traefik.http.routers.jellyfin.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/jellyfin`))
|
2023-02-13 06:42:29 +01:00
|
|
|
- traefik.http.routers.jellyfin.tls=true
|
|
|
|
- traefik.http.routers.jellyfin.tls.certresolver=myresolver
|
|
|
|
- traefik.http.services.jellyfin.loadbalancer.server.port=8096
|
2023-05-14 06:19:04 +02:00
|
|
|
- homepage.group=Media
|
|
|
|
- homepage.name=Jellyfin
|
|
|
|
- homepage.icon=jellyfin.png
|
|
|
|
- homepage.href=/jellyfin
|
|
|
|
- homepage.description=Media server
|
|
|
|
- homepage.weight=3
|
|
|
|
- homepage.widget.type=jellyfin
|
|
|
|
- homepage.widget.url=http://jellyfin:8096/jellyfin
|
|
|
|
- homepage.widget.key=${JELLYFIN_API_KEY}
|
2024-01-19 05:06:58 +01:00
|
|
|
homeassistant:
|
|
|
|
image: ghcr.io/home-assistant/home-assistant:stable
|
|
|
|
container_name: homeassistant
|
|
|
|
network_mode: host
|
|
|
|
environment:
|
|
|
|
- PUID=${USER_ID}
|
|
|
|
- PGID=${GROUP_ID}
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
volumes:
|
|
|
|
- ./homeassistant:/config
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /run/dbus:/run/dbus:ro
|
|
|
|
restart: always
|
|
|
|
healthcheck:
|
|
|
|
test: [ "CMD", "curl", "--fail", "http://127.0.0.1:8123" ]
|
2024-01-19 06:41:05 +01:00
|
|
|
interval: 30s
|
2024-01-19 05:06:58 +01:00
|
|
|
retries: 10
|
|
|
|
privileged: true
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.homeassistant.rule=(Host(`${HOMEASSISTANT_HOSTNAME}`))
|
|
|
|
- traefik.http.routers.homeassistant.tls=true
|
|
|
|
- traefik.http.routers.homeassistant.tls.certresolver=myresolver
|
|
|
|
- traefik.http.services.homeassistant.loadbalancer.server.port=8123
|
|
|
|
- homepage.group=Apps
|
|
|
|
- homepage.name=Home Assistant
|
|
|
|
- homepage.icon=home-assistant.png
|
|
|
|
- homepage.href=https://${HOMEASSISTANT_HOSTNAME}
|
|
|
|
- homepage.description=Open source home automation that puts local control and privacy first
|
|
|
|
- homepage.weight=3
|
|
|
|
- homepage.widget.type=homeassistant
|
|
|
|
- homepage.widget.url=https://${HOMEASSISTANT_HOSTNAME}
|
|
|
|
- homepage.widget.key=${HOMEASSISTANT_ACCESS_TOKEN}
|
|
|
|
profiles:
|
|
|
|
- homeassistant
|
2023-05-14 06:19:04 +02:00
|
|
|
homepage:
|
2023-10-08 23:34:50 +02:00
|
|
|
image: ghcr.io/gethomepage/homepage:latest
|
2023-05-14 06:19:04 +02:00
|
|
|
container_name: homepage
|
2022-02-19 23:17:15 +01:00
|
|
|
environment:
|
2023-05-14 06:19:04 +02:00
|
|
|
- HOMEPAGE_VAR_TITLE=${HOMEPAGE_VAR_TITLE}
|
|
|
|
- HOMEPAGE_VAR_SEARCH_PROVIDER=${HOMEPAGE_VAR_SEARCH_PROVIDER}
|
|
|
|
- HOMEPAGE_VAR_HEADER_STYLE=${HOMEPAGE_VAR_HEADER_STYLE}
|
|
|
|
- HOMEPAGE_VAR_WEATHER_CITY=${HOMEPAGE_VAR_WEATHER_CITY}
|
|
|
|
- HOMEPAGE_VAR_WEATHER_LAT=${HOMEPAGE_VAR_WEATHER_LAT}
|
|
|
|
- HOMEPAGE_VAR_WEATHER_LONG=${HOMEPAGE_VAR_WEATHER_LONG}
|
|
|
|
- HOMEPAGE_VAR_WEATHER_TIME=${TIMEZONE}
|
|
|
|
- HOMEPAGE_VAR_WEATHER_UNIT=${HOMEPAGE_VAR_WEATHER_UNIT}
|
2022-02-19 23:17:15 +01:00
|
|
|
volumes:
|
2023-05-14 06:19:04 +02:00
|
|
|
- ./homepage:/app/config
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- ${DATA_ROOT}:/data
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2023-05-14 06:19:04 +02:00
|
|
|
command: [sh, -c, "cp -n /app/config/tpl/*.yaml /app/config && node server.js"]
|
2022-04-18 00:59:35 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2023-05-14 06:19:04 +02:00
|
|
|
- traefik.http.routers.homepage.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/`))
|
|
|
|
- traefik.http.routers.homepage.tls=true
|
|
|
|
- traefik.http.routers.homepage.tls.certresolver=myresolver
|
|
|
|
- traefik.http.services.homepage.loadbalancer.server.port=3000
|
2022-08-24 04:16:33 +02:00
|
|
|
watchtower:
|
|
|
|
image: containrrr/watchtower
|
|
|
|
container_name: watchtower
|
2022-09-26 17:15:24 +02:00
|
|
|
restart: always
|
2022-08-31 16:33:42 +02:00
|
|
|
environment:
|
|
|
|
- WATCHTOWER_CLEANUP=true
|
2022-08-24 04:16:33 +02:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-10-09 00:50:10 +02:00
|
|
|
autoheal:
|
|
|
|
image: willfarrell/autoheal:latest
|
|
|
|
container_name: autoheal
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- AUTOHEAL_CONTAINER_LABEL=all
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2022-08-24 04:16:33 +02:00
|
|
|
|
2022-07-23 21:41:36 +02:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: docker-compose-nas
|