This page offers an exhaustive list of all environment variables available for medAL-data; their name, default values and description.
JSON_LANGUAGE
LANGUAGE
en
.LOCAL_HEALTH_FACILITY_MANAGEMENT
true
.true
if you locally manage health facilities, false
otherwise.STUDY_ID
Dynamic Tanzania
.Dynamic Rwanda
, Dynamic Tanzania
, TIMCI Kenya
, TIMCI India
, TIMCI Senegal
or TIMCI Tanzania
.APP_DEBUG
false
.true
.APP_ENV
production
. local
otherwise set it to production
.APP_KEY
php artisan key:generate
.APP_NAME
Laravel
. medal-data
.APP_TIMEZONE
APP_URL
http://localhost
.LOG_CHANNEL
stack
.stack
.DB_CONNECTION
pgsql
.postgres
.DB_DATABASE
liwi-local-data
.medal-data
.DB_HOST
127.0.0.1
.DB_PASSWORD
root
.DB_PORT
3306
.DB_URL
postgres://<user>:<password>@<hostname>:<port>/<database-name>
.DB_USERNAME
root
MAIL_ENCRYPTION
ssl
.ssl
.MAIL_FROM_ADDRESS
hello@example.com
.admin@dynamic.com
.MAIL_FROM_NAME
DYNAMIC MedAL-DATA
.${APP_NAME}
MAIL_HOST
smtp.gmail.com
.smtp.gmail.com
.MAIL_MAILER
smtp
.MAIL_PASSWORD
MAIL_PORT
465
.587
.MAIL_USERNAME
CREATOR_ALGORITHM_ENDPOINT
/api/v1/algorithms
./api/v1/algorithms
.CREATOR_HEALTH_FACILITY_ENDPOINT
/api/v1/health_facilities
./api/v1/health_facilities
.CREATOR_MEDAL_DATA_CONFIG_ENDPOINT
/api/v1/versions/medal_data_config?version_id=
./api/v1/versions/medal_data_config?version_id=
.CREATOR_VERSIONS_ENDPOINT
/api/v1/versions
./api/v1/versions
.CREATOR_ALGORITHM_URL
<medal-c-url>/api/v1/versions/
.CREATOR_HEALTH_FACILITY_URL
<medal-c-url>/api/v1/health_facilities/
.CREATOR_PATIENT_URL
<medal-c-url>/api/v1/versions/medal_data_config
.CREATOR_URL
CASES_ZIP_DIR
cases_zip
.CONSENT_IMG_DIR
consent_img
.JSON_EXTRACT_DIR
json_extract
.JSON_FAILURE_DIR
json_failure
.JSON_SUCCESS_DIR
json_success
.HUB_CALLBACK_URL
http://127.0.0.1:5555
.http://127.0.0.1:5555
.OAUTH_REFRESH_TOKEN_LIFETIME_DAYS
30
30
.OAUTH_TOKEN_LIFETIME_DAYS
1
1
.READER_CALLBACK_URL
aaa://callback
.aaa://callback
.OTP_ENABLED
false
, disables the two-factor authentication flow.true
. true
in production!REDCAP_IDENTIFIERS_API_URL_FOLLOWUP
https://redcap-val.unisante.ch/api/“
.REDCAP_IDENTIFIERS_API_URL_MEDICAL_CASE
https://redcap-val.unisante.ch/api/
.NOCAPTCHA_SECRET
NOCAPTCHA_SITEKEY