Skip to content

Instantly share code, notes, and snippets.

@IosifZ
Last active July 20, 2020 19:52
Show Gist options
  • Save IosifZ/f2a271d95e64c8203354273b3d496399 to your computer and use it in GitHub Desktop.
Save IosifZ/f2a271d95e64c8203354273b3d496399 to your computer and use it in GitHub Desktop.
http:
routers:
sonarr:
entryPoints:
- web-secure
middlewares:
- fauth@docker
rule: "Host(`sonarr.{{env "ZONE"}}`)"
service: sonarr
tls:
certResolver: "basic"
radarr:
entryPoints:
- web-secure
middlewares:
- fauth@docker
rule: "Host(`radarr.{{env "ZONE"}}`)"
service: radarr
tls:
certResolver: "basic"
pi-hole:
entryPoints:
- web-secure
middlewares:
- fauth@docker
rule: "Host(`phl.{{env "ZONE"}}`)"
service: pi-hole
tls:
certResolver: "basic"
jackett:
entryPoints:
- web-secure
middlewares:
- fauth@docker
rule: "Host(`jackett.{{env "ZONE"}}`)"
service: jackett
tls:
certResolver: "basic"
plex:
entryPoints:
- web-secure
middlewares:
- fauth@docker
rule: "Host(`plex.{{env "ZONE"}}`)"
service: plex
tls:
certResolver: "basic"
vpn:
entryPoints:
- web-secure
middlewares:
- fauth@docker
rule: "Host(`vpn.{{env "ZONE"}}`)"
service: vpn
tls:
certResolver: "basic"
services:
sonarr:
loadBalancer:
servers:
- url: "http://192.168.0.55:8989"
radarr:
loadBalancer:
servers:
- url: "http://192.168.0.55:20000"
pi-hole:
loadBalancer:
servers:
- url: "http://192.168.0.53:80"
jackett:
loadBalancer:
servers:
- url: "http://192.168.0.55:9117"
plex:
loadBalancer:
servers:
- url: "http://192.168.0.55:32400/web/index.html"
vpn:
loadBalancer:
servers:
- url: "http://192.168.0.181:3000"
# middlewares:
# fauth:
# forwardAuth:
# address: "http://fauth:4181"
# trustForwardHeader: true
# authResponseHeaders:
# - X-Forwarded-User
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment