2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-26 07:13:34 +01:00

fix moodle

This commit is contained in:
kev
2015-12-28 14:55:31 +08:00
parent 899ada2fc8
commit 0c0bdcc0f4
3 changed files with 44 additions and 6 deletions

View File

@@ -5,6 +5,8 @@ moodle
administrators and learners with a single robust, secure and integrated system
to create personalised learning environments.
## docker-compose.yml
```
moodle:
image: vimagick/moodle
@@ -13,7 +15,7 @@ moodle:
links:
- mysql
volumes:
- ./moodledata:/var/moodledata
- ./moodledata:/var/www/moodledata
restart: always
mysql:
@@ -24,4 +26,13 @@ mysql:
restart: always
```
## up and running
```
$ cd ~/fig/moodle/
$ mkdir -p moodledata
$ chmod 777 moodledata
$ docker-compose up -d
```
[1]: https://moodle.org/