Actualizando stacks
This commit is contained in:
28
stacks/traefik/dynamic/home-assistant.yml
Normal file
28
stacks/traefik/dynamic/home-assistant.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
http:
|
||||
routers:
|
||||
home-assistant-web:
|
||||
rule: Host(`haos.skrd.fun`)
|
||||
entryPoints:
|
||||
- web
|
||||
middlewares:
|
||||
- local-only
|
||||
- redirect-to-https
|
||||
service: noop
|
||||
home-assistant:
|
||||
rule: Host(`haos.skrd.fun`)
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: home-assistant-svc
|
||||
tls:
|
||||
certResolver: cf
|
||||
middlewares:
|
||||
- local-only
|
||||
services:
|
||||
home-assistant-svc:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.3.6:8123"
|
||||
noop:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://0.0.0.0"
|
||||
Reference in New Issue
Block a user