Simplify port mapping: expose 3500 externally, use 3000 internally

- Map host port 3500 to container port 3000
- Keep Next.js on default port 3000 inside container
- Simplifies auth configuration
This commit is contained in:
2025-12-02 13:06:24 +00:00
parent a084853b6c
commit b1705fa6da
2 changed files with 5 additions and 5 deletions

View File

@@ -4,12 +4,12 @@ services:
context: .
dockerfile: Dockerfile
ports:
- "3500:3500"
- "3500:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=${DATABASE_URL}
- AUTH_URL=${AUTH_URL:-http://localhost:3500}
- NEXTAUTH_URL=${NEXTAUTH_URL:-http://localhost:3500}
- AUTH_URL=http://localhost:3500
- NEXTAUTH_URL=http://localhost:3500
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- AUTH_SECRET=${AUTH_SECRET}
- AUTH_TRUST_HOST=true