You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hosting: random Postgres password on fresh installs
Replaces the historical default `POSTGRES_PASSWORD=arcsecond_docker` with
a per-install URL-safe-base64 value (~256 bits of entropy) generated at
first `arcsecond hosting setup`. Existing `.env` files are never
overwritten — the value Postgres baked in at first container boot must
stay in sync with `.env`, so write_env_file preserves any pre-existing
key as it always has.
Defense in depth: bind the db (5432) and broker (6379) services to
127.0.0.1 only. Operators can still `psql -h localhost` from the host;
the backend reaches both over the internal Docker network. Anything on
the LAN is firewalled out.
Includes docs/rotate-postgres-password.md for the three pioneer installs
already running with the old default — Postgres only reads
POSTGRES_PASSWORD on first init, so rotating requires both an ALTER USER
and an .env edit.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments