diff --git a/CLAUDE.md b/CLAUDE.md index 05d1d56..9181859 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -755,7 +755,7 @@ has no `psql`. ```sh h=$(hostname -f) -psql "host=magrathea.kosherinata.internal dbname=blackbeard user=grenade \ +psql "host=magrathea.hanzalova.internal dbname=blackbeard user=grenade \ sslmode=verify-full sslrootcert=/etc/pki/ca-trust/source/anchors/root-internal.pem \ sslcert=/etc/pki/tls/misc/$h.pem sslkey=/etc/pki/tls/private/$h.pem" ``` diff --git a/asset/config/config.toml.tmpl b/asset/config/config.toml.tmpl index 7e05ae3..7e46698 100644 --- a/asset/config/config.toml.tmpl +++ b/asset/config/config.toml.tmpl @@ -45,7 +45,7 @@ max_tracked_chains = 16 default_block_time_seconds = 6.0 [database] -host = "magrathea.kosherinata.internal" +host = "magrathea.hanzalova.internal" port = 5432 database = "blackbeard" username = "blackbeard_rw" diff --git a/crates/blackbeard-api/src/config.rs b/crates/blackbeard-api/src/config.rs index 85baa81..c005462 100644 --- a/crates/blackbeard-api/src/config.rs +++ b/crates/blackbeard-api/src/config.rs @@ -734,7 +734,7 @@ listen = "127.0.0.1:25864" url = "wss://feed-telemetry.quantus.cat/feed" [database] -host = "magrathea.kosherinata.internal" +host = "magrathea.hanzalova.internal" database = "blackbeard" username = "blackbeard_rw" root_cert = "{d}/root.pem" diff --git a/readme.md b/readme.md index 898de31..ad82ee5 100644 --- a/readme.md +++ b/readme.md @@ -596,7 +596,7 @@ memory would mean Planck never finishing. ## Data -Postgres on `magrathea.kosherinata.internal`, mTLS and passwordless — the host's +Postgres on `magrathea.hanzalova.internal`, mTLS and passwordless — the host's own certificate is the credential and `pg_ident.conf` maps its CN to the role. There is no password anywhere in this repo and nowhere in the config to put one. diff --git a/script/infra-setup.sh b/script/infra-setup.sh index 62fff77..ae90862 100755 --- a/script/infra-setup.sh +++ b/script/infra-setup.sh @@ -37,7 +37,7 @@ set -euo pipefail API_HOST="${API_HOST:-bob.hanzalova.internal}" API_PORT="${API_PORT:-25864}" EDGE_HOST="${EDGE_HOST:-oolon.kosherinata.internal}" -PG_PRIMARY="${PG_PRIMARY:-magrathea.kosherinata.internal}" +PG_PRIMARY="${PG_PRIMARY:-magrathea.hanzalova.internal}" # The standby needs the same ident mapping: pg_ident.conf contents are NOT # replicated, and a failover to a server missing it locks the app out. PG_STANDBY="${PG_STANDBY:-frankie.hanzalova.internal}"