117 lines
2.3 KiB
Django/Jinja
117 lines
2.3 KiB
Django/Jinja
---
|
|
# Traefik dynamic configuration for HTPC services
|
|
# Auto-generated by Ansible - deployed as dotfile
|
|
|
|
http:
|
|
middlewares:
|
|
redirect-https:
|
|
redirectScheme:
|
|
scheme: https
|
|
permanent: true
|
|
|
|
routers:
|
|
redirect-to-https:
|
|
rule: "HostRegexp(`{any:.*}`)"
|
|
entryPoints:
|
|
- web
|
|
middlewares:
|
|
- redirect-https
|
|
service: noop
|
|
|
|
sabnzbd:
|
|
rule: "PathPrefix(`/sabnzbd`)"
|
|
service: sabnzbd
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
qbittorrent:
|
|
rule: "PathPrefix(`/qbittorrent`)"
|
|
service: qbittorrent
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
sonarr:
|
|
rule: "PathPrefix(`/sonarr`)"
|
|
service: sonarr
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
radarr:
|
|
rule: "PathPrefix(`/radarr`)"
|
|
service: radarr
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
lidarr:
|
|
rule: "PathPrefix(`/lidarr`)"
|
|
service: lidarr
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
lazylibrarian:
|
|
rule: "PathPrefix(`/lazylibrarian`)"
|
|
service: lazylibrarian
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
prowlarr:
|
|
rule: "PathPrefix(`/prowlarr`)"
|
|
service: prowlarr
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
dashboard:
|
|
rule: "PathPrefix(`/dashboard`)"
|
|
service: api@internal
|
|
entryPoints:
|
|
- websecure
|
|
tls: {}
|
|
|
|
services:
|
|
noop:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost"
|
|
|
|
sabnzbd:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:8081"
|
|
|
|
qbittorrent:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:8082"
|
|
|
|
sonarr:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:{{ SONARR__SERVER__PORT | default('8989') }}"
|
|
|
|
radarr:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:{{ RADARR__SERVER__PORT | default('7878') }}"
|
|
|
|
lidarr:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:{{ LIDARR__SERVER__PORT | default('8686') }}"
|
|
|
|
lazylibrarian:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:{{ lazylibrarian_port | default('5299') }}"
|
|
|
|
prowlarr:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:{{ PROWLARR__SERVER__PORT | default('9696') }}"
|