-
Notifications
You must be signed in to change notification settings - Fork 0
Environment Variables
Saurav Adhikari edited this page Dec 18, 2022
·
1 revision
-
NEWSLY_SECRET_KEY
- String block used for cryptographic transactions. Generated random value to be used.
-
NEWSLY_DEBUG
- True | False
-
NEWSLY_ALLOWED_HOST
- Comma seperated list of hosts that are allowed to point to the server.
- Example "localhost,newsly.pp.ua"
- Use "*" if you want this to be accessed by any domain.
- Comma seperated list of hosts that are allowed to point to the server.
-
NEWSLY_DATABASE_URL
- URL DSN in the form:
postgres://postgres@database_default:5432/db
- URL DSN in the form:
AZURE_ACCOUNT_KEY=<Azure Storage Account Key>
DATABASE_URL=<DB_URL>
DJANGO_SETTINGS_MODULE=config.settings
EMAIL_HOST=<SMTP host address>
EMAIL_HOST_PASSWORD=<Emails Password>
EMAIL_HOST_USER=<Email Address>
EMAIL_PORT=<SMTP Port>
EMAIL_USE_SSL=<True or False>
IBM_WATSON_TTS_AUTHORIZATION=<Watson Auth Parameter in format: Basic <encoded_key>>
IBM_WATSON_TTS_URL=<Watsons url given in watson dashboard>
NEWSLY_DEBUG=<True for Local Setup, False for Production>
NEWSLY_SECRET_KEY=<A random secret key>
OPENAI_API_KEY=<OPENAI api key>
PYTHONUNBUFFERED=1
TG_BOT_TOKEN=<Telegram Bot Token>