Future home of KoBo Toolbox's Docker configuration.
- Configure
envfile.txt
- If faking a public server by manipulating
/etc/hosts
, configure theextra_hosts
directives indocker-compose.server.yml
- Make a
secrets
directory in the project root and copy the SSL certificate and key files tosecrets/ssl.crt
andsecrets/ssl.key
respectively. The certificate is expected to be a wildcard certificate valid for the domain and subdomains you entered in step 1. - Optionally clear previously persisted files:
sudo rm -rf .vols/ log/
- Optionally clear previously built containers:
docker-compose -f docker-compose.server.yml rm -f
- As a temporary workaround to avoid a race condition, manually initiate
kpi
database sync and migrations (quit withCTRL+C
once UWSGI has started):docker-compose -f docker-compose.server.yml run --rm kpi
- As a temporary workaround to avoid a race condition, manually initiate
dkobo
(yes, really) database sync and migrations, and initialize an admin user with credentialskobo:kobo
(quit withCTRL+C
once UWSGI has started):docker-compose -f docker-compose.server.yml run --rm dkobo
- As a temporary workaround to avoid a race condition, manually initiate
kobocat
database sync and migrations (quit withCTRL+C
once UWSGI has started):docker-compose -f docker-compose.server.yml run --rm kobocat
- Start the server:
docker-compose -f docker-compose.server.yml up
(or withup -d
to run in background)
- Enketo Express authentication issue.
- KoBoCAT login redirect (e.g https://kf-local.kobotoolbox.org/accounts/login/?next=/kobocat/ -> https://kf-local.kobotoolbox.org/kobocat/ ->
404
) - SMTP e-mail.
- Media files?
- Maps?