Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Files

Latest commit

 

History

History
17 lines (12 loc) · 984 Bytes

required.md

File metadata and controls

17 lines (12 loc) · 984 Bytes

Required Configuration

Process Environment

The following environment variables are required for the application to run:

  • NODE_ENV - The environment the application is running in. This should be set to production for production environments.
  • PUG_CACHE - The cache setting for pug, the template engine. Set to true for production environments.
  • CONNECTION_TARGET - The target database to connect to. Set to REMOTE fro remote database, otherwise mongodbUrl in config.ts will be used.
  • MONGODB_REMOTE_SSL - The SSL connection string for the remote database. This is only required if CONNECTION_TARGET is set to REMOTE.
  • HTTPS_KEY - The private key location for the HTTPS server.
  • HTTPS_CERT - The certificate location for the HTTPS server.
  • HTTPS_CA - The certificate authority location for the HTTPS server.

Application Configuration

Please see config.ts for application configuration.