Skip to content

Environment Variables

The /opt/coresight/server/.env file configures the core parameters of the CoreSight backend.

Core Variables

  • PORT: The port the backend listens on (default: 443, or 5174 if behind a proxy).
  • DB_ENCRYPTION_KEY: A 32-character secure string used to encrypt the SQLite database. Do not lose this key.
  • JWT_SECRET: A secret string used to sign authentication tokens.
  • NODE_ENV: Set to production.

CoreSight Documentation