-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env_app_example
32 lines (28 loc) · 1.1 KB
/
.env_app_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
# example file for environment variables
# rename file to .env_app and add environment variables (export them)
# for example:
# export API_TOKEN='my-api-token'
# .env_app should not be pushed to a public repo!
export APP_ROOT="edrop/"
# adjust this property to the host edrop is running on
export ALLOWED_HOSTS="localhost,127.0.0.1"
# add hostname of server here: https://myhost.org
export CSRF_TRUSTED_ORIGINS=""
export DATA_PATH=/data/files/
export MEDIA_URL_PATH=/dashboard/files/
export MEDIA_ROOT_PATH=files
export LOGLEVEL='INFO' # WARNING, ERROR, INFO, DEBUG
# the following variables also need to be in .docker_env (ugly but not sure how else to get it to work)
export POSTGRES_DB=postgres
export POSTGRES_NAME=postgres
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=postgres
export POSTGRES_PORT=5432
# redcap config
export REDCAP_TOKEN=""
export REDCAP_URL=""
# GBF config
export GBF_TEST_FLAG='true' # should be true or false
export GBF_TOKEN="XXX" # token for GBF
export GBF_URL="" # set to host of GBF api endpoints ending in /
export GBF_ITEM_NR="XXX" # the item nr of the kit that should be ordered