From abe2aeceab858d6ad3a838ffe2970a0e9e2a4606 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 20 Jul 2024 16:20:13 -0500 Subject: Initial commit --- templates/util/traefik_labels.txt.j2 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/util/traefik_labels.txt.j2 (limited to 'templates/util') diff --git a/templates/util/traefik_labels.txt.j2 b/templates/util/traefik_labels.txt.j2 new file mode 100644 index 0000000..bb6beb1 --- /dev/null +++ b/templates/util/traefik_labels.txt.j2 @@ -0,0 +1,6 @@ + - traefik.enable=true + - traefik.http.routers.{{router_name}}.rule=Host(`{{host_prefix}}.{{host}}`) + - traefik.http.routers.{{router_name}}.tls=true + - traefik.http.routers.{{router_name}}.tls.certresolver=letsencrypt + - traefik.http.routers.{{router_name}}.entrypoints=websecure + - traefik.http.services.{{router_name}}.loadbalancer.server.port={{container_port}} -- cgit v1.2.3