1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00
dockerfiles/moodle
2017-05-08 07:05:07 +08:00
..
docker-compose.yml fix moodle 2015-12-28 14:55:31 +08:00
Dockerfile swith to new domain: easypi.pro 2017-05-08 07:05:07 +08:00
README.md fix moodle 2015-12-28 14:55:31 +08:00

moodle

Moodle is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments.

docker-compose.yml

moodle:
  image: vimagick/moodle
  ports:
    - "8000:80"
  links:
    - mysql
  volumes:
    - ./moodledata:/var/www/moodledata
  restart: always

mysql:
  image: mysql
  environment:
    - MYSQL_ROOT_PASSWORD=root
    - MYSQL_DATABASE=moodle
  restart: always

up and running

$ cd ~/fig/moodle/
$ mkdir -p moodledata
$ chmod 777 moodledata
$ docker-compose up -d