-
Notifications
You must be signed in to change notification settings - Fork 4
/
envfile
47 lines (34 loc) · 2 KB
/
envfile
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
KOBO_IP=10.6.6.1
export DJANGO_SECRET_KEY=insecure-django-kobo-dev
export DJANGO_DEBUG=True
export SKIP_CELERY=True
# The default has change to `https` (for KPI only); see
# https://github.com/kobotoolbox/kpi/commit/e6cb377049ea1fad40c2544148799096881b69c4#diff-fda91693febb37a79e7e40d7252c7851ae75b5e07eded7111299c8a078b9a93eR39
# https://chat.kobotoolbox.org/#narrow/stream/4-Kobo-Dev/topic/Django.20LTS.20upgrade/near/385302
export PUBLIC_REQUEST_SCHEME=http
# Enketo uses Redis database number 0 and is not configurable
export REDIS_SESSION_URL=redis://:insecure-redis-kobo-dev@$KOBO_IP:60667/1
export CACHE_URL=redis://:insecure-redis-kobo-dev@$KOBO_IP:60667/2
export KPI_BROKER_URL=redis://:insecure-redis-kobo-dev@$KOBO_IP:60667/3
export KOBOCAT_BROKER_URL=redis://:insecure-redis-kobo-dev@$KOBO_IP:60667/4
export SERVICE_ACCOUNT_BACKEND_URL=redis://:insecure-redis-kobo-dev@$KOBO_IP:60667/5
# This is used by KPI to access Enketo's database
export ENKETO_REDIS_MAIN_URL=redis://:insecure-redis-kobo-dev@$KOBO_IP:60667/0
export KOBOFORM_INTERNAL_URL="http://$KOBO_IP:9000"
export KOBOFORM_URL="$KOBOFORM_INTERNAL_URL"
export KOBOCAT_INTERNAL_URL="http://$KOBO_IP:9001"
export KOBOCAT_URL="$KOBOCAT_INTERNAL_URL"
export SERVICE_ACCOUNT_WHITELISTED_HOSTS="$KOBO_IP:9001"
export ENKETO_INTERNAL_URL="http://$KOBO_IP:9002"
export ENKETO_URL="$ENKETO_INTERNAL_URL"
export ENKETO_API_TOKEN=insecure-enketo-kobo-dev
export KPI_DATABASE_URL=postgis://postgres:insecure-postgres-kobo-dev@$KOBO_IP:60666/koboform
export KC_DATABASE_URL=postgis://postgres:insecure-postgres-kobo-dev@$KOBO_IP:60666/kobocat
export KOBOCAT_MEDIA_PATH=../kobocat/media
export EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
export MONGO_DB_NAME=formhub
export MONGO_DB_URL="mongodb://kobo:insecure-mongo-kobo-dev@$KOBO_IP:60668/$MONGO_DB_NAME"
# Is SSRF configuration needed to allow 10.x private addresses?
# NLP: temporary storage for audio to be transcribed
# Documentation is forthcoming…
export GS_BUCKET_NAME='kobo-transcription-test'