# ---- Database (external Postgres) ---- # When running the app via docker-compose, host is the compose service name "postgres". # For local dev outside Docker, use localhost. DATABASE_URL=postgres://pleinr:pleinr@postgres:5432/pleinr # Individual vars consumed by the postgres container in docker-compose.yml POSTGRES_USER=pleinr POSTGRES_PASSWORD=pleinr POSTGRES_DB=pleinr # ---- Auth.js (NextAuth v5) ---- # Generate with: openssl rand -base64 32 AUTH_SECRET=change-me-to-a-long-random-string # Public URL of the app (used by Auth.js for callbacks) AUTH_URL=http://localhost:3000 # ---- First admin user (created by the seed script) ---- SEED_ADMIN_EMAIL=admin@plein-r.fr SEED_ADMIN_PASSWORD=changeme123 SEED_ADMIN_NAME=Administrateur Plein R # ---- App ---- NODE_ENV=production PORT=3000