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
Full 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 stringdefaultDOCKERMNT_PEX_PATH: Local path such as/docker/mnt/nameof.pexKOLIBRI_RUN_MODE: set in DockerfileKOLIBRI_HOME: default/kolibrihomeKOLIBRI_HTTP_PORT: default8080KOLIBRI_LANG: defaultenCHANNELS_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 beingnonformalandinformalKOLIBRI_PROVISIONDEVICE_SUPERUSERNAME: defaultdevownerKOLIBRI_PROVISIONDEVICE_SUPERUSERPASSWORD: defaultadmin123