Skip to content

vatsimnetwork/moodle-docker

Repository files navigation

Moodle Docker image

This is a somewhat opinionated Docker image for running Moodle, currently used by VATSIM. It is based on the official PHP+Apache image and includes the following:

Usage

MySQL/MariaDB and Redis are required to run this image. You'll also need to configure some way of running Moodle's cron job, such as a cron container or a Kubernetes CronJob.

Environment variables

  • WWW_ROOT - The URL of the Moodle instance, used for generating links in emails and other places. Defaults to http://localhost.
  • SSL_PROXY - The presence of this environment variable will enable the sslproxy setting in Moodle.
  • DB_TYPE - The type of database to use, currently either mysqli or mariadb. Defaults to mysqli.
  • DB_HOST - The hostname of the database server. Defaults to 127.0.0.1.
  • DB_PORT - The port of the database server. Defaults to 3306.
  • DB_DATABASE - The name of the database to use. Defaults to moodle.
  • DB_USERNAME - The username to use when connecting to the database. Defaults to moodle.
  • DB_PASSWORD - The password to use when connecting to the database. Defaults to an empty string.
  • REDIS_HOST - The hostname of the Redis server. Defaults to 127.0.0.1.
  • REDIS_PORT - The port of the Redis server. Defaults to 6379.
  • REDIS_PASSWORD - The password to use when connecting to the Redis server. Defaults to an empty string.
  • DATA_ROOT - The path to the Moodle data directory. Defaults to an empty string.
  • UPGRADE_KEY - The upgrade key to use when upgrading Moodle. Defaults to null, thus disabling the feature.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published