- Set AUTH_TRUST_HOST=true in .env and docker-compose.yml - Ensures NextAuth trusts all hosts in Docker environment - Fixes UntrustedHost error
13 lines
430 B
Bash
13 lines
430 B
Bash
DATABASE_URL="mysql://lists_app:ListsApp@2025!@192.168.4.20:3306/ultimate_lists"
|
|
|
|
# NextAuth Configuration
|
|
NEXTAUTH_URL=http://localhost:3500
|
|
NEXTAUTH_SECRET=your-secret-key-here-please-change-in-production
|
|
AUTH_SECRET=your-secret-key-here-please-change-in-production
|
|
AUTH_TRUST_HOST=true
|
|
|
|
# Database connection check (for docker-compose health check)
|
|
DB_HOST=192.168.4.20
|
|
DB_PORT=3306
|
|
DB_USER=lists_app
|
|
DB_PASSWORD=ListsApp@2025! |