Swapped volatile Tailscale ips for fixed wireguard ips
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
--network host \
|
||||
postgres:17 \
|
||||
pg_basebackup \
|
||||
--host=100.109.10.91 \
|
||||
--host=10.10.0.1 \
|
||||
--port=5432 \
|
||||
--username=replicator \
|
||||
--pgdata=/out/postgresql-replica \
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
# primary conninfo
|
||||
cat > "$DATADIR/postgresql.auto.conf" <<EOF
|
||||
primary_conninfo = 'host=100.109.10.91 port=5432 user=replicator password=$PG_PASS application_name=cyper-controller sslmode=disable'
|
||||
primary_conninfo = 'host=10.10.0.1 port=5432 user=replicator password=$PG_PASS application_name=cyper-controller sslmode=disable'
|
||||
EOF
|
||||
|
||||
# minimal postgresql.conf
|
||||
|
||||
@@ -149,7 +149,7 @@ in
|
||||
type = "metrics";
|
||||
bind_addresses = [
|
||||
"127.0.0.1"
|
||||
"100.109.10.91"
|
||||
"10.10.0.1"
|
||||
];
|
||||
resources = [ ];
|
||||
}
|
||||
@@ -250,7 +250,7 @@ in
|
||||
wal_level = "replica";
|
||||
max_wal_senders = 5;
|
||||
wal_keep_size = "512MB";
|
||||
listen_addresses = lib.mkForce "127.0.0.1,100.109.10.91";
|
||||
listen_addresses = lib.mkForce "127.0.0.1,10.10.0.1";
|
||||
ssl = true;
|
||||
};
|
||||
authentication = lib.mkAfter ''
|
||||
|
||||
Reference in New Issue
Block a user