Sign inSign up

hufs24/moodle

By hufs24

•Updated 27 days ago

Unofficial Moodle LMS container image

Image
Web servers
0

3.0K

hufs24/moodle repository overview

⁠Note

  • Use the latest tag whenever possible.

⁠Moodle Container Environment Variables

This container is configured by environment variables consumed in Containerfile and entrypoint.sh. Defaults are shown where applicable.

⁠Required at first boot

These are required when config.php is missing.

VariableDefaultDescription
MOODLE_WWWROOThttp://localhost:9881Public base URL for Moodle.
MOODLE_DBHOSThost.containers.internalDatabase host.
MOODLE_DBNAMEmoodle-databaseDatabase name.
MOODLE_DBUSERmoodleDatabase user.
MOODLE_DBPASSmoodleDatabase password.

⁠Optional database settings

VariableDefaultDescription
MOODLE_DBTYPEmariadbDatabase type. Supported: mariadb, mysqli, pgsql.
MOODLE_DBPORT3306 (MySQL/MariaDB), 5432 (Postgres)Database port.
MOODLE_DBPREFIXmdl_Table prefix.

⁠Optional paths

VariableDefaultDescription
MOODLE_DATA_DIR/var/lib/moodledataMoodle data directory inside the container.

⁠Optional initial site/admin setup

Used during initial install_database.php run.

VariableDefaultDescription
MOODLE_LANGenSite language.
MOODLE_ADMINUSERadminInitial admin username.
MOODLE_ADMINPASSadminInitial admin password.
MOODLE_ADMINEMAIL[email protected]Initial admin email.
MOODLE_FULLNAMEMoodle LMSSite full name.
MOODLE_SHORTNAMELMSSite short name.
MOODLE_SUMMARYemptySite summary.

Tag summary

Content type

Image

Digest

sha256:57143e6b6…

Size

623.6 MB

Last updated

27 days ago

docker pull hufs24/moodle