Allowed Hosts Homepage
This commit is contained in:
@@ -25,7 +25,9 @@ in {
|
|||||||
subdomain = containerCfg.subdomain;
|
subdomain = containerCfg.subdomain;
|
||||||
image = "ghcr.io/gethomepage/homepage:${version}";
|
image = "ghcr.io/gethomepage/homepage:${version}";
|
||||||
port = 3000;
|
port = 3000;
|
||||||
# extraEnv = { };
|
extraEnv = {
|
||||||
|
HOMEPAGE_ALLOWED_HOSTS = "${containerCfg.subdomain}.${serverCfg.domain},${builder.host}"
|
||||||
|
};
|
||||||
extraLabels = {
|
extraLabels = {
|
||||||
"traefik.http.routers.${containerCfg.subdomain}.service" = "${containerCfg.subdomain}";
|
"traefik.http.routers.${containerCfg.subdomain}.service" = "${containerCfg.subdomain}";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user