aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-26 00:17:12 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-26 00:17:12 +0100
commit823c8bd3ba029176405a0e3e718d96632b63cd88 (patch)
treeec8e107061f7aecdcff4fab58527c470eee85e56
parent86b98732212661c4398c21d1be689d8a1a5b5263 (diff)
downloadnixcfg-823c8bd3ba029176405a0e3e718d96632b63cd88.tar.gz
nixcfg-823c8bd3ba029176405a0e3e718d96632b63cd88.zip
in prod also use LAN IPs when possible
-rw-r--r--cluster/prod/cluster.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix
index 5a717df..d131db7 100644
--- a/cluster/prod/cluster.nix
+++ b/cluster/prod/cluster.nix
@@ -5,21 +5,27 @@
deuxfleurs.cluster_nodes = [
{
hostname = "concombre";
+ site_name = "neptune";
publicKey = "VvXT0fPDfWsHxumZqVShpS33dJQAdpJ1E79ZbCBJP34=";
IP = "10.42.1.31";
endpoint = "82.66.112.151:33731";
+ lan_endpoint = "192.168.1.31:33731";
}
{
hostname = "courgette";
+ site_name = "neptune";
publicKey = "goTkBJGmzrGDOAjUcdH9G0JekipqSMoaYQdB6IHnzi0=";
IP = "10.42.1.32";
endpoint = "82.66.112.151:33732";
+ lan_endpoint = "192.168.1.32:33732";
}
{
hostname = "celeri";
+ site_name = "neptune";
publicKey = "oZDAb8LoLW87ktUHyFFec0VaIar97bqq47mGbdVqJ0U=";
IP = "10.42.1.33";
endpoint = "82.66.112.151:33733";
+ lan_endpoint = "192.168.1.33:33733";
}
];
deuxfleurs.admin_nodes = [