Move system specific values into _templates
Added szetup.sh to link to the system specific templates
This commit is contained in:
parent
5a66abe915
commit
8097a303d8
6 changed files with 50 additions and 9 deletions
23
_traefik/dynamic/_templates/rt.ha.yml.sz
Normal file
23
_traefik/dynamic/_templates/rt.ha.yml.sz
Normal file
|
@ -0,0 +1,23 @@
|
|||
# http routing section
|
||||
http:
|
||||
routers:
|
||||
# Define a connection between requests and services
|
||||
home-assistant:
|
||||
rule: "Host(`ha.lksz.me`)"
|
||||
entrypoints:
|
||||
- websecure
|
||||
# # If the rule matches, applies the middleware
|
||||
# middlewares:
|
||||
# - test-user
|
||||
# If the rule matches, forward to the whoami service (declared below)
|
||||
service: home-assistant
|
||||
tls:
|
||||
certresolver: myresolver
|
||||
|
||||
services:
|
||||
# Define how to reach an existing service on our infrastructure
|
||||
home-assistant:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://ha.lan:8123"
|
||||
#- address: "ha.lan:8123"
|
Loading…
Add table
Add a link
Reference in a new issue