# Postgres connection string used by the web + worker binaries (and `just migrate`). DATABASE_URL=postgres://xtablo:xtablo@localhost:5432/xtablo?sslmode=disable # Postgres connection string used by integration tests (auth, session, etc.). # Falls back to DATABASE_URL if unset; tests skip if neither is set. # The test harness creates an isolated schema per test run and drops it on cleanup. TEST_DATABASE_URL=postgres://xtablo:xtablo@localhost:5432/xtablo?sslmode=disable # Session secret — 32 random bytes hex-encoded. Used as the CSRF authentication key. # Generate a new value with: openssl rand -hex 32 # MUST be persistent across restarts (changing it invalidates all active CSRF tokens). SESSION_SECRET= # HTTP port for cmd/web. PORT=8080 # Environment selector: "development" enables the slog text handler; "production" switches to JSON. ENV=development