added paths for traefik to get to mediaservices
This commit is contained in:
parent
3171d21563
commit
33f46f5437
1 changed files with 32 additions and 0 deletions
32
core/traefik/dynamic/lxc2-mediaservices.yaml
Normal file
32
core/traefik/dynamic/lxc2-mediaservices.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
# JELLYFIN ROUTER
|
||||||
|
jellyfin:
|
||||||
|
rule: "Host(`media.mapletree.email`)"
|
||||||
|
service: jellyfin-service
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls:
|
||||||
|
certResolver: myresolver
|
||||||
|
stash:
|
||||||
|
rule: "Host(`stash.mapletree.email`)"
|
||||||
|
service: stash-service
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls:
|
||||||
|
certResolver: myresolver
|
||||||
|
|
||||||
|
services:
|
||||||
|
# JELLYFIN SERVICE (The Destination)
|
||||||
|
jellyfin-service:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
# The IP address of pve2-lxc2
|
||||||
|
- url: "http://172.16.201.202:8096"
|
||||||
|
passHostHeader: true
|
||||||
|
stash-service:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
# The IP address of pve2-lxc2
|
||||||
|
- url: "http://172.16.201.202:9999"
|
||||||
|
passHostHeader: true
|
||||||
Loading…
Reference in a new issue