Files
holiday-property-booking/DEPLOYMENT.md

833 B

Deployment

Environment Model

The deployment model is expected to follow the shared dev, QA, and production branch flow once the project is onboarded into the pipeline.

Runtime Expectations

  • NEXT_PUBLIC_SITE_URL should match the deployed environment.
  • DATABASE_URL should target the environment-specific PostgreSQL instance.
  • Stripe and email provider secrets live in environment variables.
  • The production container applies Prisma migrations and seeds the property inventory before the Next.js server starts so checkout has the required Property records.

Port Mapping

  • Dev: host port 7003 -> container port 7003
  • QA: host port 6003 -> container port 6003
  • Production: host port 5003 -> container port 5003

Health Check

  • GET /api/health returns a lightweight JSON readiness response.