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>

Changed files
+7 -7
cmd
server
+3 -3
.env.dev
···
# =============================================================================
# PostgreSQL Configuration (Development Database)
# =============================================================================
-
# Development database for Coves AppView (runs on port 5433)
+
# Development database for Coves AppView (runs on port 5435)
POSTGRES_HOST=localhost
-
POSTGRES_PORT=5433
+
POSTGRES_PORT=5435
POSTGRES_DB=coves_dev
POSTGRES_USER=dev_user
POSTGRES_PASSWORD=dev_password
···
# Notes
# =============================================================================
# All local development configuration in one file!
-
# - Dev PostgreSQL: port 5433
+
# - Dev PostgreSQL: port 5435
# - Test PostgreSQL: port 5434 (via --profile test)
# - PDS: port 3001 (avoids conflict with production on :3000)
# - AppView: port 8081
+1 -1
cmd/server/main.go
···
dbURL := os.Getenv("DATABASE_URL")
if dbURL == "" {
// Use dev database from .env.dev
-
dbURL = "postgres://dev_user:dev_password@localhost:5433/coves_dev?sslmode=disable"
+
dbURL = "postgres://dev_user:dev_password@localhost:5435/coves_dev?sslmode=disable"
}
// Default PDS URL for this Coves instance (supports self-hosting)
+3 -3
docker-compose.dev.yml
···
networks:
- coves-dev
healthcheck:
-
test: ["CMD", "curl", "-f", "http://localhost:3000/xrpc/_health"]
+
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/xrpc/_health"]
interval: 10s
timeout: 5s
retries: 5
···
pds:
condition: service_healthy
healthcheck:
-
test: ["CMD", "curl", "-f", "http://localhost:6009/metrics"]
+
test: ["CMD", "wget", "--spider", "-q", "http://localhost:6009/metrics"]
interval: 10s
timeout: 5s
retries: 5
···
pds:
condition: service_healthy
healthcheck:
-
test: ["CMD", "curl", "-f", "http://localhost:2470/xrpc/_health"]
+
test: ["CMD", "wget", "--spider", "-q", "http://localhost:2470/xrpc/_health"]
interval: 10s
timeout: 5s
retries: 5