Update modules/server/containers/apps/collabora.nix

This commit is contained in:
2026-05-11 17:49:03 +02:00
committed by soraefir
parent 9e9338d136
commit 037d75af2a

View File

@@ -7,14 +7,14 @@ in {
server = builder.mkContainer { server = builder.mkContainer {
subdomain = containerCfg.subdomain; subdomain = containerCfg.subdomain;
image = "collabora/code:${version}"; image = "collabora/code:${version}";
port = containerCfg.port; port = 8080;
ip = containerCfg.ip; ip = containerCfg.ip;
secret = name; secret = name;
extraEnv = { extraEnv = {
"aliasgroup1" = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.hostDomain}"; "aliasgroup1" = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.hostDomain}";
"server_name" = "${containerCfg.subdomain}.${serverCfg.hostDomain}"; "server_name" = "${containerCfg.subdomain}.${serverCfg.hostDomain}";
"VIRTUAL_HOST" = "${containerCfg.subdomain}.${serverCfg.hostDomain}"; "VIRTUAL_HOST" = "${containerCfg.subdomain}.${serverCfg.hostDomain}";
"VIRTUAL_PORT" = "${toString containerCfg.port}"; "VIRTUAL_PORT" = "8080";
"VIRTUAL_PROTO" = "http"; "VIRTUAL_PROTO" = "http";
"DONT_GEN_SSL_CERT" = "true"; "DONT_GEN_SSL_CERT" = "true";
"RESOLVE_TO_PROXY_IP" = "true"; "RESOLVE_TO_PROXY_IP" = "true";