diff options
| author | Robert Günzler <r@gnzler.io> | 2026-04-09 11:04:46 +0900 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-04-22 14:36:52 +0900 |
| commit | f87c066685098da9a67dd410104cbba8c5fdcdbd (patch) | |
| tree | 5fe9d3c916931959d267123973e3123b1740a5e1 /bundles/git/files/traefik.yaml | |
| parent | aa913b59b3e5048fec396ee4b50288f740cdfccf (diff) | |
deploy cgit
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/git/files/traefik.yaml')
| -rw-r--r-- | bundles/git/files/traefik.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
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 |