super-productivity/docker-compose.supersync.yaml
Johannes Millan d982b708cc fix(dev): update default SuperSync port to 1901 for local development
- Change default dev URL from port 1900 to 1901 in frontend config
- Add WebAuthn environment variables to supersync override for port 1901
2026-01-24 21:14:57 +01:00

18 lines
693 B
YAML

# Docker Compose override for SuperSync E2E tests
# Uses port 1901 so tests can run while dev server uses 1900
# Usage: docker compose -f docker-compose.yaml -f docker-compose.supersync.yaml up -d supersync
services:
supersync:
ports: !override
- '1901:1900'
environment:
- NODE_ENV=development
- PORT=1900
- TEST_MODE=true
- TEST_MODE_CONFIRM=yes-i-understand-the-risks
- JWT_SECRET=e2e-test-secret-minimum-32-chars-long-for-security
- CORS_ORIGINS=*
- DATA_DIR=/data
- DATABASE_URL=postgresql://supersync:superpassword@db:5432/supersync_db
- WEBAUTHN_ORIGIN=http://localhost:1901
- PUBLIC_URL=http://localhost:1901