This repository contains Docker configuration aimed to provide a good starting point to install moodle in production using docker.
In Catedu we need to deploy several hundreds of Moodle. This repo aims to give us a solution to test locally our developments and to generate our docker images. Our final solution is being implemented in moodle-docker-deploy repo.
These features are out of the scope of this repo (you may have a look at moodle-docker-deploy repo):
cp env-sample .env
docker-compose up -d
Open browser webpage: http://localhost (be patient)
Configure your moodle installation using an .env file
We have two environments: production (https ready with letsencrypt) and development (default).
Plugins or special configuration is done using shell scripts or php files. The moodle container executes them from init-scripts directory. We provide an example script (plugins-sampe.sh) file, and moodle image has moosh binary.
Using letsEncrypt, activating production environment:
cp docker-compose.override_prod.yml docker-compose.override.yml
docker-compose up -d
Modify .env file
MOODLE_URL=https://localhost
SSL_PROXY=true
Are extremely welcome!
Content type
Image
Digest
sha256:6c0fa2938…
Size
832 MB
Last updated
4 months ago
docker pull cateduac/moodle:4.5.12-nginx-fpm-unoconv