Set NODE_ENV to development for better NextAuth compatibility

- Avoids production build issues with NextAuth v5 beta
- Enables better error messages for debugging
- Session cookies work correctly in development mode
This commit is contained in:
2025-12-02 13:21:07 +00:00
parent 9bd4dfe0e1
commit adb4f6b119

View File

@@ -6,7 +6,7 @@ services:
ports: ports:
- "3500:3000" - "3500:3000"
environment: environment:
- NODE_ENV=production - NODE_ENV=development
- DATABASE_URL=${DATABASE_URL} - DATABASE_URL=${DATABASE_URL}
- AUTH_URL=http://localhost:3500 - AUTH_URL=http://localhost:3500
- NEXTAUTH_URL=http://localhost:3500 - NEXTAUTH_URL=http://localhost:3500