[dm-companion] Routes the API through the same host as the frontend

This commit is contained in:
2025-06-01 11:54:51 -07:00
parent 1ae798e30c
commit e5861f8e6b
3 changed files with 39 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ in
user ? null,
extraOptions ? [ ],
oauthProxy ? false,
extraLabels ? { },
}:
let
routerRule = if public then hostRule hostName domain else localHostRule hostName domain;
@@ -76,7 +77,8 @@ in
"traefik.http.services.${hostName}.loadbalancer.server.port" = "${toString port}";
}
// oauthLabels
// homepageLabels;
// homepageLabels
// extraLabels;
};
# Creates a MariaDB container for a specific app. It should be safe to give