Skip to content

cologneintelligence/docker-moodle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-moodle

A Dockerfile that installs and runs the latest Moodle 3.2 stable, with external MySQL Database.

Tags:

  • latest - 3.2 stable
  • v3.1 - 3.1 stable

Installation

git clone https://github.com/jmhardison/docker-moodle
cd docker-moodle
docker build -t moodle .

Usage

To spawn a new instance of Moodle:

docker run -d --name DB -p 3306:3306 -e MYSQL_DATABASE=moodle -e MYSQL_ROOT_PASSWORD=moodle -e MYSQL_USER=moodle -e MYSQL_PASSWORD=moodle mysql
docker run -d -P --name moodle --link DB:DB -e MOODLE_URL=http://192.168.59.103:8080 -p 8080:80 jhardison/moodle

You can visit the following URL in a browser to get started:

http://192.168.59.103:8080 

Caveats

The following aren't handled, considered, or need work:

  • moodle cronjob (should be called from cron container)
  • log handling (stdout?)
  • email (does it even send?)

Credits

This is a fork of Jon Auer's Dockerfile. This is a reductionist take on sergiogomez's docker-moodle Dockerfile.

About

A Dockerfile that installs the latest Moodle, Apache, PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.1%
  • Shell 0.9%