diff options
Diffstat (limited to 'bundles/glance/files/traefik.yaml')
| -rw-r--r-- | bundles/glance/files/traefik.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bundles/glance/files/traefik.yaml b/bundles/glance/files/traefik.yaml new file mode 100644 index 0000000..1f248a7 --- /dev/null +++ b/bundles/glance/files/traefik.yaml @@ -0,0 +1,18 @@ +http: + services: + glance: + loadBalancer: + servers: + - url: http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("glance/port")} + + routers: + glance: + rule: Host(`1.gzr.im`) + entryPoints: + - http + - https + service: glance + middlewares: + - tls-redirect@file + tls: + certResolver: le |