···
# DO NOT commit secrets to version control in production!
# =============================================================================
+
# PostgreSQL Configuration (Development Database)
# =============================================================================
+
# Development database for Coves AppView (runs on port 5433)
···
PDS_URL=http://localhost:3001
# =============================================================================
+
# Test Database Configuration
+
# =============================================================================
+
# Test database runs on port 5434 (separate from dev on 5433)
+
POSTGRES_TEST_DB=coves_test
+
POSTGRES_TEST_USER=test_user
+
POSTGRES_TEST_PASSWORD=test_password
+
POSTGRES_TEST_PORT=5434
+
# =============================================================================
# =============================================================================
···
# =============================================================================
# =============================================================================
+
# All local development configuration in one file!
+
# - Dev PostgreSQL: port 5433
+
# - Test PostgreSQL: port 5434 (via --profile test)
+
# - PDS: port 3001 (avoids conflict with production on :3000)
+
# - PDS is self-contained (SQLite + CAR files)
+
# - PostgreSQL is only for Coves AppView indexing
+
# - AppView subscribes directly to PDS firehose (no relay needed)
# - PDS firehose: ws://localhost:3001/xrpc/com.atproto.sync.subscribeRepos