|
|
@@ -0,0 +1,24 @@
|
|
|
+# 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=5ff5ecfddc3e3b8aad4a00a2dd637fea
|
|
|
+
|
|
|
+# 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
|