A docker container for the e-learning platform Forma LMS based on the official php:7.0-apache image.
In order to run this container you'll need:
A compatible SQL database:
- MySQL 5.0 or higher or MariaDB 5.5 or higher
- UTF8 character set
- MySQL strict mode disabled
The web page runs on the default http port
docker run -p 8080:80 nicholaswilde/formalmsThen you can go to http://localhost:8080/install to complete the installation.
The default UID and GID for the app volume is www-data:www-data or 33:33
See docker-compose.yaml.
This will install both Forma LMS and a MySQL database You can use the forma.cnf file in this repository to set both character set to utf8 and disable strict mode at creation time, otherwise you'll have to do it manually.
As with docker run got to the web page http://localhost:8080/install to complete the installation.
With this compose file you can just set db as the database host during installation and formalms as database name, user and password.
The database is not exposed outside of the stack, but you can always change the database parameters to be on the safer side.
See Wiki.
See Wiki.
If you want to automatically generate README.md files with a pre-commit hook, make sure you
install the pre-commit binary, and add a .pre-commit-config.yaml file
to your project. Then run:
pre-commit install
pre-commit install-hooksCurrently, this only works on amd64 systems.
- Forma LMS v2.3.0.2
- PHP v7.0
- MySQL v5.7
- Lorenzo Dallagà - Initial work
- RazgulTraka
- Nicholas Wilde