migrate to main proxy

This commit is contained in:
Kyattsukuro 2026-01-15 17:28:24 +01:00
parent 582aea9b4b
commit 2a1ee9968a
3 changed files with 24 additions and 2 deletions

View File

@ -10,8 +10,9 @@ services:
networks:
- exposed
ports:
- 7080:80
- 7443:443
- 80:80
- 443:443
- 2022:2022
environment:
- HETZNER_API_TOKEN=${HETZNER_API_TOKEN}
- DUCKDNS_TOKEN=${DUCKDNS_TOKEN}

16
config/external.yml Normal file
View File

@ -0,0 +1,16 @@
http:
routers:
homeassistant:
service: homeassistant
rule: Host(`home.urmel.de`)
entryPoints:
- https
- http
tls: true
services:
homeassistant:
loadbalancer:
servers:
- url: "http://172.24.2.4:8123"
passHostHeader: true

View File

@ -3,6 +3,7 @@ api:
debug: true
entryPoints:
http:
asDefault: true
address: ":80"
http:
redirections:
@ -10,13 +11,17 @@ entryPoints:
to: https
scheme: https
https:
asDefault: true
address: ":443"
public_ssh:
address: ":2022"
serversTransport:
insecureSkipVerify: true
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: traefik_exposed
file:
directory: /config
# https://doc.traefik.io/traefik/reference/install-configuration/tls/certificate-resolvers/acme/