mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-26 07:13:34 +01:00
fix moodle
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user