Sign inSign up

hanzkid/moodle

By hanzkid

•Updated almost 5 years ago

Image
0

125

hanzkid/moodle repository overview

⁠Environment variables

You can change the configuration of the docker images by setting various environment variables before calling bin/moodle-docker-compose up.

Environment VariableMandatoryAllowed valuesDefault valueNotes
MOODLE_DOCKER_DByespgsql, mariadb, mysql, mssql, oraclenoneThe database server to run against
MOODLE_DOCKER_WWWROOTyespath on your file systemnoneThe path to the Moodle codebase you intend to test
MOODLE_DOCKER_PHP_VERSIONno7.4, 7.3, 7.2, 7.1, 7.0, 5.67.3The php version to use
MOODLE_DOCKER_BROWSERnofirefox, chromefirefoxThe browser to run Behat against
MOODLE_DOCKER_PHPUNIT_EXTERNAL_SERVICESnoany valuenot setIf set, dependencies for memcached, redis, solr, and openldap are added
MOODLE_DOCKER_WEB_HOSTnoany valid hostnamelocalhostThe hostname for web
MOODLE_DOCKER_WEB_PORTnoany integer value (or bind_ip:integer)127.0.0.1:8000The port number for web. If set to 0, no port is used.
If you want to bind to any host IP different from the default 127.0.0.1, you can specify it with the bind_ip:port format (0.0.0.0 means bind to all)
MOODLE_DOCKER_SELENIUM_VNC_PORTnoany integer value (or bind_ip:integer)not setIf set, the selenium node will expose a vnc session on the port specified. Similar to MOODLE_DOCKER_WEB_PORT, you can optionally define the host IP to bind to. If you just set the port, VNC binds to 127.0.0.1
MOODLE_DOCKER_APP_PATHnopath on your file systemnot setIf set and the chrome browser is selected, it will start an instance of the Moodle app from your local codebase
MOODLE_DOCKER_APP_VERSIONnoa valid app docker image version⁠not setIf set will start an instance of the Moodle app if the chrome browser is selected
MOODLE_DOCKER_APP_RUNTIMEno'ionic3' or 'ionic5'not setSet this to indicate the runtime being used in the Moodle app. In most cases, this can be ignored because the runtime is guessed automatically (except on Windows using the .cmd binary). In case you need to set it manually and you're not sure which one it is, versions 3.9.5 and later should be using Ionic 5.

Tag summary

Content type

Image

Digest

Size

241.6 MB

Last updated

almost 5 years ago

docker pull hanzkid/moodle:3.11.4