diff options
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 |