From f87c066685098da9a67dd410104cbba8c5fdcdbd Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 9 Apr 2026 11:04:46 +0900 Subject: deploy cgit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/git/files/traefik.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bundles/git/files/traefik.yaml (limited to 'bundles/git/files/traefik.yaml') diff --git a/bundles/git/files/traefik.yaml b/bundles/git/files/traefik.yaml new file mode 100644 index 0000000..d3333f4 --- /dev/null +++ b/bundles/git/files/traefik.yaml @@ -0,0 +1,18 @@ +http: + services: + cgit: + loadBalancer: + servers: + - url: http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("www/cgit/port")} + + routers: + cgit: + rule: Host(`git.demo.gzr.im`) + entryPoints: + - http + - https + service: cgit + middlewares: + - tls-redirect@file + tls: + certResolver: le -- cgit 1.4.1