2024-08-02 23:09:09 +00:00
|
|
|
{{
|
|
|
|
$services := list
|
|
|
|
(list "minio-console" "minio-console.home.finn.io" "http://minio:9001")
|
|
|
|
(list "minio" "storage.home.finn.io" "http://minio:9000")
|
|
|
|
(list "jellyfin" "jellyfin.janky.solutions" "http://jellyfin:8096")
|
|
|
|
(list "dns" "dns.janky.solutions" "http://dns:9191")
|
|
|
|
(list "dns443" "dns.janky.solutions:443" "http://dns:9191")
|
2024-08-12 22:35:11 +00:00
|
|
|
(list "legacy-monitoring" "monitoring.home.finn.io" "http://monitoring-0:3000")
|
2024-08-02 23:09:09 +00:00
|
|
|
}}
|
2024-08-02 20:57:50 +00:00
|
|
|
http:
|
|
|
|
routers:
|
2024-08-02 23:09:09 +00:00
|
|
|
{{range $_, $service := $services}}
|
|
|
|
{{index $service 0}}:
|
2024-08-02 20:57:50 +00:00
|
|
|
entryPoints:
|
|
|
|
- websecure
|
2024-08-02 23:09:09 +00:00
|
|
|
rule: "Host(`{{ index $service 1 }}`)"
|
|
|
|
service: {{ index $service 0 }}
|
|
|
|
{{end}}
|
2024-08-02 20:57:50 +00:00
|
|
|
services:
|
2024-08-02 23:09:09 +00:00
|
|
|
{{range $_, $service := $services}}
|
|
|
|
{{index $service 0}}:
|
2024-08-02 20:57:50 +00:00
|
|
|
loadBalancer:
|
|
|
|
servers:
|
2024-08-02 23:09:09 +00:00
|
|
|
- url: "{{index $service 2}}"
|
|
|
|
{{end}}
|