The following environment variables are required for the application to run:
NODE_ENV
- The environment the application is running in. This should be set toproduction
for production environments.PUG_CACHE
- The cache setting for pug, the template engine. Set totrue
for production environments.CONNECTION_TARGET
- The target database to connect to. Set toREMOTE
fro remote database, otherwisemongodbUrl
in config.ts will be used.MONGODB_REMOTE_SSL
- The SSL connection string for the remote database. This is only required ifCONNECTION_TARGET
is set toREMOTE
.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.
Please see config.ts for application configuration.