.env.docker.example 901 B

1234567891011121314151617181920212223
  1. # Docker-based deployment (docker-compose)
  2. # Copy this file to ".env.docker" and adjust values.
  3. #
  4. # NOTE: Never commit real secrets. Use placeholders in this example file.
  5. # MongoDB connection string inside the docker-compose network.
  6. # "db" should match the MongoDB service name in docker-compose.yml.
  7. # If root auth is enabled, include credentials.
  8. MONGODB_URI=mongodb://root:replace-me@db:27017/rhl-lieferscheine?authSource=admin
  9. # Secret used to sign session JWT cookies.
  10. # Requirements: strong + random, at least 32 characters, never committed.
  11. # Example generation:
  12. # openssl rand -base64 48
  13. SESSION_SECRET=replace-me-with-a-long-random-secret-string-at-least-32-chars
  14. # Must match the mount target inside the app container (read-only mount recommended).
  15. NAS_ROOT_PATH=/mnt/niederlassungen
  16. NODE_ENV=production
  17. # Optional. Only needed if you run the app on a non-default port.
  18. # PORT=3000