Public | Automated Build

Last pushed: 10 months ago
Short Description
This is just a testing repository! - Please don't pull (yet)!
Full Description

docker-moodle

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

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 (https://github.com/jda/docker-moodle)'s Dockerfile.
This is a reductionist take on sergiogomez's docker-moodle Dockerfile.

Docker Pull Command
Owner
sneaky
Source Repository

Comments (0)