net
This commit is contained in:
@@ -8,6 +8,7 @@ with lib;
|
||||
let
|
||||
name = "opencloud";
|
||||
cfg = config.${namespace}.services.${name};
|
||||
net = lib.${namespace}.network;
|
||||
|
||||
opencloudConfig = lib.${namespace}.mkModule {
|
||||
inherit config name;
|
||||
@@ -26,8 +27,8 @@ let
|
||||
PROXY_TLS = "false"; # disable https when behind reverse-proxy
|
||||
INITIAL_ADMIN_PASSWORD = "BogieDudie1";
|
||||
OC_DB_TYPE = "postgres";
|
||||
OC_DB_HOST = "10.0.1.3";
|
||||
OC_DB_PORT = "5432";
|
||||
OC_DB_HOST = net.hosts.nas.lan;
|
||||
OC_DB_PORT = toString net.ports.nas.postgresql;
|
||||
OC_DB_USER = "opencloud";
|
||||
OC_DB_NAME = "opencloud";
|
||||
OC_INSECURE = "true";
|
||||
|
||||
Reference in New Issue
Block a user