forked from openimis/openimis-be_py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
32 lines (31 loc) · 1.27 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Database host
DB_HOST=<host>
# Database port
DB_PORT=<port>
# Database name
DB_NAME=<db>
# Database username
DB_USER=<username>
# Database user password
DB_PASSWORD=<password>
# Site root that will prefix all exposed endpoints. It's required when working with openIMIS frontend
SITE_ROOT=api
# Should the debug be on (i.e. debug information will be displayed)
DEBUG=True
# Log level to be used. Remove for default.
DJANGO_LOG_LEVEL=WARNING
# Log handler to be used, reffer to openIMIS/openIMIS/settings.py. Remove for default.
DJANGO_LOG_HANDLER=debug-log
# Photo path root used in insuree module. Only used if InsureeConfig value not specified. Comment out for default.
PHOTO_ROOT_PATH=<photo path>
# Should the database be migrated before start (entrypoint.sh - docker setup). Will be migrated anyway if $SITE_ROOT=api. Comment out for False
DJANGO_MIGRATE=True
# Should the modules be searched for scheduled tasks. Comment out for false
# SCHEDULER_AUTOSTART=True
# SCHEDULER_RENEWALS_HOUR=3
# SCHEDULER_RENEWALS_MINUTE=30
# eCRVS - Hera fields
HERA_LOGIN_URL=<Hera Keycloak URL for fetching login token>
HERA_DATA_URL=<Hera general URL for fetching data with token>
HERA_LOGIN_SECRET=<Secret for logging in>
HERA_WEBHOOK_ADDRESS=<Complete URL for the webhook that is going to be sent to Hera>