# Docker-based deployment (docker-compose)
# Copy this file to ".env.docker" and adjust values.
#
# NOTE: Never commit real secrets. Use placeholders in this example file.

# MongoDB connection string inside the docker-compose network.
# "db" should match the MongoDB service name in docker-compose.yml.
# If root auth is enabled, include credentials.
MONGODB_URI=mongodb://root:replace-me@db:27017/rhl-lieferscheine?authSource=admin

# 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

# Must match the mount target inside the app container (read-only mount recommended).
NAS_ROOT_PATH=/mnt/niederlassungen

NODE_ENV=production

# Optional. Only needed if you run the app on a non-default port.
# PORT=3000
