Skip to content

nicholaswilde/docker-formalms

 
 

Repository files navigation

Docker Forma LMS

Docker Image Version (latest by date) Docker Pulls GitHub hadolint yamllint pre-commit

A docker container for the e-learning platform Forma LMS based on the official php:7.0-apache image.

Dependencies

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

Usage

docker cli

The web page runs on the default http port

docker run -p 8080:80 nicholaswilde/formalms

Then you can go to http://localhost:8080/install to complete the installation.

Volume

The default UID and GID for the app volume is www-data:www-data or 33:33

docker-compose

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.

Development

See Wiki.

Troubleshooting

See Wiki.

Pre-commit hook

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-hooks

Currently, this only works on amd64 systems.

Built With

  • Forma LMS v2.3.0.2
  • PHP v7.0
  • MySQL v5.7

Acknowledgments

License

Apache 2.0 License

Authors

About

Docker container for e-learning platform FormaLMS

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Makefile 66.7%
  • Dockerfile 33.3%