A community based topic aggregation platform built on atproto

fix(devops): Change dev PostgreSQL port to 5435 to avoid local conflict

Update development PostgreSQL port from 5433 to 5435 to avoid conflicts
with existing local PostgreSQL installations or other services.

Changes:
- .env.dev: Update POSTGRES_PORT to 5435
- docker-compose.dev.yml: Update health checks to use wget instead of curl
- cmd/server/main.go: Update default DATABASE_URL to use port 5435

Additional improvements:
- Replace curl with wget in Docker healthchecks (more reliable in Alpine)
- Update comments to reflect new port configuration

Ports summary:
- Dev PostgreSQL: 5435 (was 5433)
- Test PostgreSQL: 5434 (unchanged)
- PDS: 3001
- AppView: 8081

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

+7 -7
+3 -3
.env.dev
··· 5 5 # ============================================================================= 6 6 # PostgreSQL Configuration (Development Database) 7 7 # ============================================================================= 8 - # Development database for Coves AppView (runs on port 5433) 8 + # Development database for Coves AppView (runs on port 5435) 9 9 POSTGRES_HOST=localhost 10 - POSTGRES_PORT=5433 10 + POSTGRES_PORT=5435 11 11 POSTGRES_DB=coves_dev 12 12 POSTGRES_USER=dev_user 13 13 POSTGRES_PASSWORD=dev_password ··· 143 143 # Notes 144 144 # ============================================================================= 145 145 # All local development configuration in one file! 146 - # - Dev PostgreSQL: port 5433 146 + # - Dev PostgreSQL: port 5435 147 147 # - Test PostgreSQL: port 5434 (via --profile test) 148 148 # - PDS: port 3001 (avoids conflict with production on :3000) 149 149 # - AppView: port 8081
+1 -1
cmd/server/main.go
··· 35 35 dbURL := os.Getenv("DATABASE_URL") 36 36 if dbURL == "" { 37 37 // Use dev database from .env.dev 38 - dbURL = "postgres://dev_user:dev_password@localhost:5433/coves_dev?sslmode=disable" 38 + dbURL = "postgres://dev_user:dev_password@localhost:5435/coves_dev?sslmode=disable" 39 39 } 40 40 41 41 // Default PDS URL for this Coves instance (supports self-hosting)
+3 -3
docker-compose.dev.yml
··· 101 101 networks: 102 102 - coves-dev 103 103 healthcheck: 104 - test: ["CMD", "curl", "-f", "http://localhost:3000/xrpc/_health"] 104 + test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/xrpc/_health"] 105 105 interval: 10s 106 106 timeout: 5s 107 107 retries: 5 ··· 155 155 pds: 156 156 condition: service_healthy 157 157 healthcheck: 158 - test: ["CMD", "curl", "-f", "http://localhost:6009/metrics"] 158 + test: ["CMD", "wget", "--spider", "-q", "http://localhost:6009/metrics"] 159 159 interval: 10s 160 160 timeout: 5s 161 161 retries: 5 ··· 204 204 pds: 205 205 condition: service_healthy 206 206 healthcheck: 207 - test: ["CMD", "curl", "-f", "http://localhost:2470/xrpc/_health"] 207 + test: ["CMD", "wget", "--spider", "-q", "http://localhost:2470/xrpc/_health"] 208 208 interval: 10s 209 209 timeout: 5s 210 210 retries: 5