latest tag whenever possible.This container is configured by environment variables consumed in Containerfile and entrypoint.sh.
Defaults are shown where applicable.
These are required when config.php is missing.
| Variable | Default | Description |
|---|---|---|
MOODLE_WWWROOT | http://localhost:9881 | Public base URL for Moodle. |
MOODLE_DBHOST | host.containers.internal | Database host. |
MOODLE_DBNAME | moodle-database | Database name. |
MOODLE_DBUSER | moodle | Database user. |
MOODLE_DBPASS | moodle | Database password. |
| Variable | Default | Description |
|---|---|---|
MOODLE_DBTYPE | mariadb | Database type. Supported: mariadb, mysqli, pgsql. |
MOODLE_DBPORT | 3306 (MySQL/MariaDB), 5432 (Postgres) | Database port. |
MOODLE_DBPREFIX | mdl_ | Table prefix. |
| Variable | Default | Description |
|---|---|---|
MOODLE_DATA_DIR | /var/lib/moodledata | Moodle data directory inside the container. |
Used during initial install_database.php run.
| Variable | Default | Description |
|---|---|---|
MOODLE_LANG | en | Site language. |
MOODLE_ADMINUSER | admin | Initial admin username. |
MOODLE_ADMINPASS | admin | Initial admin password. |
MOODLE_ADMINEMAIL | [email protected] | Initial admin email. |
MOODLE_FULLNAME | Moodle LMS | Site full name. |
MOODLE_SHORTNAME | LMS | Site short name. |
MOODLE_SUMMARY | empty | Site summary. |
Content type
Image
Digest
sha256:57143e6b6…
Size
623.6 MB
Last updated
6 days ago
docker pull hufs24/moodle