1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/moodle/README.md

39 lines
641 B
Markdown
Raw Normal View History

2015-12-28 06:22:35 +02:00
moodle
======
[Moodle][1] is a learning platform designed to provide educators,
administrators and learners with a single robust, secure and integrated system
to create personalised learning environments.
2015-12-28 08:55:31 +02:00
## docker-compose.yml
2015-12-28 06:22:35 +02:00
```
moodle:
image: vimagick/moodle
ports:
- "8000:80"
links:
- mysql
volumes:
2015-12-28 08:55:31 +02:00
- ./moodledata:/var/www/moodledata
2015-12-28 06:22:35 +02:00
restart: always
mysql:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=moodle
restart: always
```
2015-12-28 08:55:31 +02:00
## up and running
```
$ cd ~/fig/moodle/
$ mkdir -p moodledata
$ chmod 777 moodledata
$ docker-compose up -d
```
2015-12-28 06:22:35 +02:00
[1]: https://moodle.org/