Update NEXTAUTH_URL in docker-compose.yml to support environment variable fallback, enhancing configuration flexibility.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 17s

This commit is contained in:
Julien Froidefond
2025-12-11 13:39:18 +01:00
parent 8c17ed44e3
commit bbdb7d6ad2

View File

@@ -11,7 +11,7 @@ services:
environment:
- NODE_ENV=production
- DATABASE_URL=file:/app/data/dev.db
- NEXTAUTH_URL=http://localhost:3000
- NEXTAUTH_URL=${NEXTAUTH_URL:-http://localhost:3000}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-change-this-secret-in-production}
volumes:
# Persist database (override DATA_PATH env var to change location)