This directory contains docker files and startup scripts for various tasks. See also the docker-*
make
commands in the Makefile in the root directory.
Docker environment variables
Base layer that installs JavaScript and Python dependencies
Generates a .whl
, tar.gz
, and .pex
files in dist/
Generate the Windows installer
Gull development setup with running devserver
Runs the pex from KOLIBRI_PEX_URL
with production setup
Startup script that configures Kolibri based on ENV variables:
KOLIBRI_PEX_URL
: Download URL or the stringdefault
DOCKERMNT_PEX_PATH
: Local path such as/docker/mnt/nameof.pex
KOLIBRI_RUN_MODE
: set in DockerfileKOLIBRI_HOME
: default/kolibrihome
KOLIBRI_HTTP_PORT
: default8080
KOLIBRI_LANG
: defaulten
CHANNELS_TO_IMPORT
: comma-separated list of channel IDs (not set by default)
If the KOLIBRI_PROVISIONDEVICE_FACILITY
environment variable is set, the entrypoint script will set up a facility with this name. The KOLIBRI_LANG
environment variable and the following other environment variables will be used in the process:
KOLIBRI_PROVISIONDEVICE_PRESET
: defaults toformal
, with the other options beingnonformal
andinformal
KOLIBRI_PROVISIONDEVICE_SUPERUSERNAME
: defaultdevowner
KOLIBRI_PROVISIONDEVICE_SUPERUSERPASSWORD
: defaultadmin123