Refactor traefik dynamic config for services
This commit is contained in:
15
traefik/config/services/gitea.yml
Normal file
15
traefik/config/services/gitea.yml
Normal 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
|
||||
15
traefik/config/services/hedgedoc.yml
Normal file
15
traefik/config/services/hedgedoc.yml
Normal 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
|
||||
15
traefik/config/services/home-assistant.yml
Normal file
15
traefik/config/services/home-assistant.yml
Normal 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
|
||||
15
traefik/config/services/nextcloud.yml
Normal file
15
traefik/config/services/nextcloud.yml
Normal 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
|
||||
15
traefik/config/services/portainer.yml
Normal file
15
traefik/config/services/portainer.yml
Normal 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
|
||||
15
traefik/config/services/uptime-kuma.yml
Normal file
15
traefik/config/services/uptime-kuma.yml
Normal 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
|
||||
Reference in New Issue
Block a user