forked from kobotoolbox/kobo-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
envfile.local.txt
45 lines (39 loc) · 2.29 KB
/
envfile.local.txt
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
#######################
# Mandatory variables #
#######################
# The address where your KoBo Toolbox instance can be reached; generally the IP address of your computer.
# DO NOT use "localhost" or "127.0.0.1" or containers will not be able to communicate with each other.
# NOTE: If you are not connected to a network or don't intend to permit access
# from other devices on your network, use the IP address of Docker's network
# interface. This can usually be obtained e.g with the following command:
# docker-compose run --rm kpi /sbin/ip route|awk '/default/ { print $3 }'
HOST_ADDRESS=
# See "api key" here: https://github.com/kobotoolbox/enketo-express/tree/master/config#linked-form-and-data-server
ENKETO_API_TOKEN=
# Canonically a 50-character random string. For Django 1.8.13, see https://docs.djangoproject.com/en/1.8/ref/settings/#secret-key and https://github.com/django/django/blob/4022b2c306e88a4ab7f80507e736ce7ac7d01186/django/core/management/commands/startproject.py#L29-L31.
# To generate a secret key in the same way as `django-admin startproject` you can run:
# docker-compose run --rm kpi python -c 'from django.utils.crypto import get_random_string; print(get_random_string(50, "abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)"))'
DJANGO_SECRET_KEY=
# The initial superuser's username.
KOBO_SUPERUSER_USERNAME=
# The initial superuser's password.
KOBO_SUPERUSER_PASSWORD=
# The e-mail address where your users can contact you.
KOBO_SUPPORT_EMAIL=
# NOTE: Any changes to the public ports must also be reflected in the `ports` directives for the `nginx` container in `docker-compose.local.yml`.
KPI_PUBLIC_PORT=8000
KOBOCAT_PUBLIC_PORT=8001
ENKETO_EXPRESS_PUBLIC_PORT=8005
######################
# Optional variables #
######################
# For help customizing backup schedules, use a `cron` schedule generator (e.g.
# crontab.guru). To enable a backup, uncomment the relevant schedule.
# Default KoBoCAT media backup schedule is weekly at 12:00 AM UTC on Sunday.
#KOBOCAT_MEDIA_BACKUP_SCHEDULE=0 0 * * 0
# Default MongoDB backup schedule is weekly at 01:00 AM UTC on Sunday.
#MONGO_BACKUP_SCHEDULE=0 1 * * 0
# Default Postgres backup schedule is weekly at 02:00 AM UTC on Sunday.
#POSTGRES_BACKUP_SCHEDULE=0 2 * * 0
# Postgres database name used in backups
KOBO_POSTGRES_DB_NAME=kobotoolbox