.env.sample
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NODE_ENV
This environment variable is used to provide the environment in which the application is running Possible values are: development,…
ACCESS_TOKEN_SECRET
secret
REFRESH_TOKEN_SECRET
secret
MONGO_DB_URL
secret
This environment variable is used to provide connection string of the mongoDB database for talawa-api to connect to.
RECAPTCHA_SECRET_KEY
secret
MAIL_USERNAME
MAIL_PASSWORD
secret
IS_SMTP
For using custom SMTP server. (Ignore if you are using GMAIL as a Mail Transport) true/false
SMTP_HOST
SMTP Server credentials. Contact your Server Administrator for these variables.
SMTP_PASSWORD
secret
SMTP_USERNAME
SMTP_PORT
SMTP_SSL_TLS
LAST_RESORT_SUPERADMIN_EMAIL
COLORIZE_LOGS
Logger Configuration
LOG_LEVEL
REDIS_HOST
REDIS_PORT
REDIS_PASSWORD
secret
MAX_FILE_SIZE_KB