.env.local.example 937 B

123456789101112131415161718192021222324
  1. # Local development (Next.js dev server)
  2. # Copy this file to ".env.local" and adjust values.
  3. #
  4. # NOTE: Never commit real secrets. Use placeholders in this example file.
  5. # MongoDB connection string (local dev).
  6. # Expected format: mongodb://... OR mongodb+srv://...
  7. MONGODB_URI=mongodb://localhost:27017/rhl_lieferscheine
  8. # Secret used to sign session JWT cookies.
  9. # Requirements: strong + random, at least 32 characters, never committed.
  10. # Example generation:
  11. # openssl rand -base64 48
  12. SESSION_SECRET=replace-me-with-a-long-random-secret-string-at-least-32-chars
  13. # Absolute Unix path to the NAS root folder that contains branch directories (NLxx/...).
  14. # For local dev you can point this to a local fixture folder.
  15. NAS_ROOT_PATH=/mnt/niederlassungen
  16. # Optional. Next.js dev usually sets this, but keeping it explicit is fine.
  17. NODE_ENV=development
  18. # Optional. Only needed if you want a custom port for your local server.
  19. # PORT=3000