# Local development (Next.js dev server)
# Copy this file to ".env.local" and adjust values.
#
# NOTE: Never commit real secrets. Use placeholders in this example file.

# MongoDB connection string (local dev).
# Expected format: mongodb://... OR mongodb+srv://...
MONGODB_URI=mongodb://localhost:27017/rhl_lieferscheine

# Secret used to sign session JWT cookies.
# Requirements: strong + random, at least 32 characters, never committed.
# Example generation:
#   openssl rand -base64 48
SESSION_SECRET=replace-me-with-a-long-random-secret-string-at-least-32-chars

# Absolute Unix path to the NAS root folder that contains branch directories (NLxx/...).
# For local dev you can point this to a local fixture folder.
NAS_ROOT_PATH=/mnt/niederlassungen

# Optional. Next.js dev usually sets this, but keeping it explicit is fine.
NODE_ENV=development

# Optional. Only needed if you want a custom port for your local server.
# PORT=3000
