Refactor traefik dynamic config for services

This commit is contained in:
2025-07-18 12:43:35 +02:00
parent e2acc4c6a7
commit 0d20b7911b
6 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,15 @@
# /services/traefik/config/services/gitea.yml
http:
routers:
git:
entryPoints:
- https
rule: Host(`git.eliasfink.de`)
service: gitea
services:
gitea:
loadBalancer:
servers:
- url: http://gitea:3000

View File

@@ -0,0 +1,15 @@
# /services/traefik/config/services/hedgedoc.yml
http:
routers:
pad:
entryPoints:
- https
rule: Host(`pad.eliasfink.de`)
service: hedgedoc
services:
hedgedoc:
loadBalancer:
servers:
- url: http://hedgedoc:3000

View File

@@ -0,0 +1,15 @@
# /services/traefik/config/services/home-assistant.yml
http:
routers:
smarthome:
entryPoints:
- https
rule: Host(`smarthome.eliasfink.de`)
service: home-assistant
services:
home-assistant:
loadBalancer:
servers:
- url: http://home-assistant:8123

View File

@@ -0,0 +1,15 @@
# /services/traefik/config/services/nextcloud.yml
http:
routers:
cloud:
entryPoints:
- https
rule: Host(`cloud.eliasfink.de`)
service: nextcloud
services:
nextcloud:
loadBalancer:
servers:
- url: http://nextcloud:80

View File

@@ -0,0 +1,15 @@
# /services/traefik/config/services/portainer.yml
http:
routers:
portainer:
entryPoints:
- https
rule: Host(`portainer.eliasfink.de`)
service: portainer
services:
portainer:
loadBalancer:
servers:
- url: http://portainer:9000

View File

@@ -0,0 +1,15 @@
# /services/traefik/config/services/uptime-kuma.yml
http:
routers:
status:
entryPoints:
- https
rule: Host(`status.eliasfink.de`)
service: uptime-kuma
services:
uptime-kuma:
loadBalancer:
servers:
- url: http://uptime-kuma:3001