fix: match container ports to host ports
Some checks failed
Deploy Holiday Property Booking / deploy (push) Failing after 1m26s
Test & Build Holiday Property Booking / test-build (push) Successful in 10m44s

This commit is contained in:
2026-05-22 08:13:19 +00:00
parent d3ee4df82a
commit 1d96054f7a
6 changed files with 12 additions and 8 deletions

View File

@@ -5,13 +5,14 @@ services:
dockerfile: Dockerfile
environment:
NODE_ENV: production
PORT: ${PORT:-3000}
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL:-http://localhost:3000}
DATABASE_URL: ${DATABASE_URL:-postgresql://postgres:postgres@db:5432/holiday_property_booking?schema=public}
depends_on:
db:
condition: service_healthy
ports:
- "${WEB_PORT:-3000}:3000"
- "${PORT:-3000}:${PORT:-3000}"
db:
image: postgres:16-alpine
@@ -26,4 +27,3 @@ services:
interval: 5s
timeout: 5s
retries: 10