···
# DO NOT commit secrets to version control in production!
# =============================================================================
6
-
# PostgreSQL Configuration (Shared Database)
6
+
# PostgreSQL Configuration (Development Database)
# =============================================================================
8
-
# Uses existing database from internal/db/local_dev_db_compose/
8
+
# Development database for Coves AppView (runs on port 5433)
···
PDS_URL=http://localhost:3001
# =============================================================================
51
+
# Test Database Configuration
52
+
# =============================================================================
53
+
# Test database runs on port 5434 (separate from dev on 5433)
54
+
POSTGRES_TEST_DB=coves_test
55
+
POSTGRES_TEST_USER=test_user
56
+
POSTGRES_TEST_PASSWORD=test_password
57
+
POSTGRES_TEST_PORT=5434
59
+
# =============================================================================
# =============================================================================
···
# =============================================================================
# =============================================================================
64
-
# - PDS port 3001 avoids conflict with your production PDS on :3000
65
-
# - AppView port 8081 avoids conflicts
66
-
# - PostgreSQL port 5433 matches your existing local dev database
67
-
# - All services connect to the shared PostgreSQL database
68
-
# - AppView subscribes directly to PDS firehose (no relay needed for local dev)
73
+
# All local development configuration in one file!
74
+
# - Dev PostgreSQL: port 5433
75
+
# - Test PostgreSQL: port 5434 (via --profile test)
76
+
# - PDS: port 3001 (avoids conflict with production on :3000)
77
+
# - AppView: port 8081
78
+
# - PDS is self-contained (SQLite + CAR files)
79
+
# - PostgreSQL is only for Coves AppView indexing
80
+
# - AppView subscribes directly to PDS firehose (no relay needed)
# - PDS firehose: ws://localhost:3001/xrpc/com.atproto.sync.subscribeRepos