Add AUTH_URL for NextAuth v5 compatibility

- NextAuth v5 uses AUTH_URL instead of NEXTAUTH_URL
- Keep both for backward compatibility
- Fixes UntrustedHost error
This commit is contained in:
2025-12-02 13:02:10 +00:00
parent 39401a3fa2
commit a084853b6c
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ services:
environment:
- NODE_ENV=production
- DATABASE_URL=${DATABASE_URL}
- AUTH_URL=${AUTH_URL:-http://localhost:3500}
- NEXTAUTH_URL=${NEXTAUTH_URL:-http://localhost:3500}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- AUTH_SECRET=${AUTH_SECRET}