Commit 7dd181c0 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Initial commit. Docker infrastructure with dummy moodle plugin.

parent 0d664549
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
How to run Moodle Server: How to run Moodle Server:
~~~bash ~~~bash
docker-compose up -d --build
docker-compose exec moodle php /var/www/html/moodle/admin/cli/install.php --wwwroot=http://0.0.0.0 --dataroot=/var/www/html/moodledata --dbtype=mariadb --dbname=moodle --dbuser=moodleuser --dbpass=moodlepassword --dbhost=mariadb --adminpass=rootpassword --fullname="Moodle Site" --shortname="Moodle" --agree-license --non-interactive docker-compose exec moodle php /var/www/html/moodle/admin/cli/install.php --wwwroot=http://0.0.0.0 --dataroot=/var/www/html/moodledata --dbtype=mariadb --dbname=moodle --dbuser=moodleuser --dbpass=moodlepassword --dbhost=mariadb --adminpass=rootpassword --fullname="Moodle Site" --shortname="Moodle" --agree-license --non-interactive
docker-compose exec moodle chown -R www-data:www-data /var/www/html/moodle docker-compose exec moodle chown -R www-data:www-data /var/www/html/moodle
docker-compose exec moodle chmod -R 755 /var/www/html/moodle docker-compose exec moodle chmod -R 755 /var/www/html/moodle
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment