Skip to content

Commit

Permalink
Create dynamic.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
skalavala authored May 6, 2023
1 parent a347599 commit 16e9576
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions traefik/config/dynamic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
http:
routers:
catchall:
# attached only to web entryPoint
entryPoints:
- "web"

# catchall rule
rule: "PathPrefix(`/`)"
service: unavailable
# lowest possible priority
# evaluated when no other router is matched
priority: 1

to-dashboard:
rule: "Host(`subdomain.domain.com`)"
service: api@internal

to-music:
rule: "Host(`subdomain.domain.com`)"
entrypoints: web
service: airsonic

to-frigate:
rule: "Host(`subdomain.domain.com`)"
entrypoints: web
service: frigate

to-portainer:
rule: "Host(`subdomain.domain.com`)"
entrypoints: web
service: portainer

to-plex:
rule: "Host(`subdomain.domain.com`)"
entrypoints: web
service: plex


# middlewares:
# https-redirect:
# redirectScheme:
# scheme: https

services:
# Service that will always answer a 503 Service Unavailable response
unavailable:
loadBalancer:
servers: {}
airsonic:
loadBalancer:
servers:
- url: http://192.168.x.x:xxx
frigate:
loadBalancer:
servers:
- url: http://192.168.x.x:xxx
portainer:
loadBalancer:
servers:
- url: http://192.168.x.x:xxx
plex:
loadBalancer:
servers:
- url: http://192.168.x.x:xxx

providers:
docker:
exposedByDefault: false

0 comments on commit 16e9576

Please sign in to comment.