dockerfy traefik

This commit is contained in:
2026-01-31 19:43:37 -06:00
parent f418f3dfa5
commit 1bba167d6d
7 changed files with 7 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ in {
}; };
environmentFiles = [ config.sops.templates."authentik.env".path ]; environmentFiles = [ config.sops.templates."authentik.env".path ];
labels = { labels = {
"traefik.enable" = "true";
"traefik.http.routers.${name}.entrypoints" = "websecure,localsecure"; "traefik.http.routers.${name}.entrypoints" = "websecure,localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)"; "traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";

View File

@@ -36,6 +36,7 @@ in {
]; ];
labels = { labels = {
"traefik.enable" = "true";
"traefik.http.routers.${name}.entrypoints" = "localsecure"; "traefik.http.routers.${name}.entrypoints" = "localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)"; "traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";

View File

@@ -35,6 +35,7 @@ in {
]; ];
labels = { labels = {
"traefik.enable" = "true";
"traefik.http.routers.${name}.entrypoints" = "localsecure"; "traefik.http.routers.${name}.entrypoints" = "localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)"; "traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";

View File

@@ -50,6 +50,7 @@ in {
]; ];
labels = { labels = {
"traefik.enable" = "true";
"traefik.http.routers.${name}.entrypoints" = "localsecure"; "traefik.http.routers.${name}.entrypoints" = "localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)"; "traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";

View File

@@ -47,6 +47,7 @@ in {
]; ];
labels = { labels = {
"traefik.enable" = "true";
"traefik.http.routers.${name}.entrypoints" = "localsecure"; "traefik.http.routers.${name}.entrypoints" = "localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)"; "traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";

View File

@@ -34,6 +34,7 @@ in {
]; ];
labels = { labels = {
"traefik.enable" = "true";
"traefik.http.routers.${name}.entrypoints" = "localsecure"; "traefik.http.routers.${name}.entrypoints" = "localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)"; "traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";

View File

@@ -36,6 +36,7 @@ in {
]; ];
labels = { labels = {
"traefik.enable" = "true";
"traefik.http.routers.${name}.entrypoints" = "localsecure"; "traefik.http.routers.${name}.entrypoints" = "localsecure";
"traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)"; "traefik.http.routers.${name}.rule" = "Host(`${subdomain}.esotericbytes.com`)";
"traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.service" = "${name}";