about summary refs log tree commit diff
path: root/bundles/go-away/files/traefik.yaml
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-09-07 17:32:13 +0200
committerRobert Günzler <r@gnzler.io>2025-09-25 12:56:47 +0200
commit0bb17cd2f34918add1ddaedeb0a66531dea561a3 (patch)
treef1d3a825273c8a2ab3e804876328bd3f1a939f68 /bundles/go-away/files/traefik.yaml
parent332d333fa24c8b1943799aadb017f61e642008e1 (diff)
go-away: use config.yml and vendor all configuration files
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/go-away/files/traefik.yaml')
-rw-r--r--bundles/go-away/files/traefik.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/bundles/go-away/files/traefik.yaml b/bundles/go-away/files/traefik.yaml
index e44a842..a8fcb9d 100644
--- a/bundles/go-away/files/traefik.yaml
+++ b/bundles/go-away/files/traefik.yaml
@@ -4,6 +4,10 @@ http:
       loadBalancer:
         servers:
           - url: http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("go-away/port")}
+    go-away-metrics:
+      loadBalancer:
+        servers:
+          - url: http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("go-away-metrics/port")}
 
   routers:
     gzr-im:
@@ -26,3 +30,11 @@ http:
         - tls-redirect@file
       tls:
         certResolver: le
+
+    go-away-metrics:
+      rule: Path(`/metrics/go-away`)
+      entryPoints:
+        - metrics
+      service: go-away-metrics
+      middlewares:
+        - replacepath-metrics@docker