fix: align environment ports
This commit is contained in:
@@ -10,7 +10,12 @@ The deployment model is expected to follow the shared dev, QA, and production br
|
||||
- `DATABASE_URL` should target the environment-specific PostgreSQL instance.
|
||||
- Stripe and email provider secrets live in environment variables.
|
||||
|
||||
## Port Mapping
|
||||
|
||||
- Dev: host port `7003` -> container port `3000`
|
||||
- QA: host port `6003` -> container port `3000`
|
||||
- Production: host port `5003` -> container port `3000`
|
||||
|
||||
## Health Check
|
||||
|
||||
- `GET /api/health` returns a lightweight JSON readiness response.
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@ Phase 1 scaffold started from the approved planning docs.
|
||||
- Base styling
|
||||
- Prisma schema
|
||||
- Health endpoint
|
||||
- Environment ports aligned to `7003`, `6003`, and `5003` for dev, QA, and production
|
||||
|
||||
## Next Build Step
|
||||
|
||||
- Wire the first data-backed screens after the foundation is in place.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Planning workspace for the new project based on the functional specification.
|
||||
|
||||
## Current Status
|
||||
|
||||
Phase 1 scaffold has started. The repo now contains the Next.js app shell, Prisma schema, Docker entrypoint, and baseline project docs.
|
||||
Phase 1 scaffold has started. The repo now contains the Next.js app shell, Prisma schema, Docker entrypoint, and baseline project docs. Environment ports are mapped to `7003` for Dev, `6003` for QA, and `5003` for Production.
|
||||
|
||||
## Working Rule
|
||||
|
||||
|
||||
@@ -8,5 +8,4 @@ services:
|
||||
NODE_ENV: development
|
||||
NEXT_PUBLIC_SITE_URL: http://localhost:3000
|
||||
ports:
|
||||
- "${WEB_PORT:-3000}:3000"
|
||||
|
||||
- "${WEB_PORT:-7003}:3000"
|
||||
|
||||
@@ -4,5 +4,4 @@ services:
|
||||
NODE_ENV: production
|
||||
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL:-https://example.com}
|
||||
ports:
|
||||
- "${WEB_PORT:-3002}:3000"
|
||||
|
||||
- "${WEB_PORT:-5003}:3000"
|
||||
|
||||
@@ -4,5 +4,4 @@ services:
|
||||
NODE_ENV: production
|
||||
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL:-http://localhost:3001}
|
||||
ports:
|
||||
- "${WEB_PORT:-3001}:3000"
|
||||
|
||||
- "${WEB_PORT:-6003}:3000"
|
||||
|
||||
Reference in New Issue
Block a user