Skip to content

A Dockerfile that installs the latest Moodle, Apache, PHP, MySQL and SSH

Notifications You must be signed in to change notification settings

wuyun1/docker-moodle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-moodle

A Dockerfile that installs and runs the latest Moodle stable.

Installation

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

Usage

To spawn a new instance of Moodle:

docker run -d -p 3306:3306 -e MYSQL_DATABASE=moodle -e MYSQL_USER=moodle -e MYSQL_PASSWORD=moodle centurylink/mysql
docker run -d -P --name moodle --link DB:DB -e MOODLE_URL=http://192.168.59.103:8080 -p 8080:80 jauer/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 reductionist take on sergiogomez's docker-moodle Dockerfile.

About

A Dockerfile that installs the latest Moodle, Apache, PHP, MySQL and SSH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.1%
  • Shell 0.9%