feat(dns01): bootstrap DNS #10
5 changed files with 14 additions and 5 deletions
|
@ -25,10 +25,12 @@ with dns.lib.combinators;
|
||||||
photoprism = host "129.199.146.101" null;
|
photoprism = host "129.199.146.101" null;
|
||||||
immich = host "129.199.146.101" null;
|
immich = host "129.199.146.101" null;
|
||||||
|
|
||||||
|
homebox = host "129.199.146.102" null;
|
||||||
|
|
||||||
# Nameservers
|
# Nameservers
|
||||||
ns01 = host "45.13.104.26" "2a0e:e701:1120:1000:ffff::45.13.104.26";
|
ns01 = host "45.13.104.26" "2a0e:e701:1120:1000:ffff::45.13.104.26";
|
||||||
|
|
||||||
# *.infra.beta.dgnum.eu
|
# *.infra.lab.dgnum.eu
|
||||||
infra = {
|
infra = {
|
||||||
subdomains = mapAttrs' (
|
subdomains = mapAttrs' (
|
||||||
host:
|
host:
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
HBOX_OPTIONS_ALLOW_REGISTRATION = "false";
|
HBOX_OPTIONS_ALLOW_REGISTRATION = "false";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."homebox.cgiga.fr" = {
|
services.nginx.virtualHosts."homebox.lab.dgnum.eu" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
serverAliases = [ ];
|
serverAliases = [ ];
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
host = "localhost";
|
host = "localhost";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."immich.cgiga.fr" = {
|
services.nginx.virtualHosts."immich.lab.dgnum.eu" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
serverAliases = [ ];
|
serverAliases = [ ];
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
PHOTOPRISM_DEFAULT_LOCALE = "fr";
|
PHOTOPRISM_DEFAULT_LOCALE = "fr";
|
||||||
PHOTOPRISM_ADMIN_USERNAME = "admin";
|
PHOTOPRISM_ADMIN_USERNAME = "admin";
|
||||||
PHOHOPRISM_SITE_URL = "https://photoprism.cgiga.fr";
|
PHOHOPRISM_SITE_URL = "https://photoprism.lab.dgnum.eu";
|
||||||
PHOTOPRISM_SITE_CAPTION = "PhotoPrism";
|
PHOTOPRISM_SITE_CAPTION = "PhotoPrism";
|
||||||
|
|
||||||
# DB access config
|
# DB access config
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nginx.virtualHosts."photoprism.cgiga.fr" = {
|
nginx.virtualHosts."photoprism.lab.dgnum.eu" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
serverAliases = [ ];
|
serverAliases = [ ];
|
||||||
|
|
|
@ -9,6 +9,13 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
ipv4 = [
|
||||||
|
{
|
||||||
|
address = "45.13.104.26";
|
||||||
|
prefixLength = 32;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
gateways = [ "2a0e:e701:1120:1000::1" ];
|
gateways = [ "2a0e:e701:1120:1000::1" ];
|
||||||
dns = [ "2a0e:e701:1120:1000::f:1" ];
|
dns = [ "2a0e:e701:1120:1000::f:1" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue