commit 02b3872c2348f8ef003f129d0159f4f9e561126c
parent 364dbdd29e9bbb6fd92e97d1a47d5c0373ef83f0
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 27 Jan 2024 16:18:02 +0100
Meow
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/nixos/common/lib/confd.nix b/nixos/common/lib/confd.nix
@@ -7,7 +7,7 @@
services.confd = {
enable = true;
nodes = [
- "http://10.100.0.1:2379"
+ "http://10.0.2.1:2379"
"http://10.0.1.2:2379"
];
prefix = "/service/cluster-1";
diff --git a/nixos/common/lib/patroni.nix b/nixos/common/lib/patroni.nix
@@ -30,10 +30,10 @@
etcd = {
enable = true;
initialClusterState = "existing";
- listenClientUrls = ["http://10.100.0.1:2379"];
- listenPeerUrls = ["http://10.100.0.1:2380"];
+ listenClientUrls = ["http://10.0.2.1:2379"];
+ listenPeerUrls = ["http://10.0.2.1:2380"];
initialCluster = [
- "worker-1=http://10.100.0.1:2380"
+ "worker-1=http://10.0.2.1:2380"
"nordgedanken=http://10.0.1.2:2380"
];
extraConf = {
@@ -44,7 +44,7 @@
patroni = {
enable = true;
- nodeIp = "10.100.0.1";
+ nodeIp = "10.0.2.1";
name = "worker-1";
scope = "cluster-1";
postgresqlPackage = pkgs.postgresql_14;
@@ -114,7 +114,7 @@
};
etcd = {
hosts = [
- "10.100.0.1:2379"
+ "10.0.2.1:2379"
"10.0.1.2:2379"
];
};