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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user