Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 901 Bytes

File metadata and controls

27 lines (17 loc) · 901 Bytes

Learning Locker version 2 Docker image

This is a dirty and quick dockerized version of Learning Locker 2 used for testing purpose (A better version of another Learning Locker docker image here)

Is based on the installation guides at http://docs.learninglocker.net/guides-custom-installation/

Official images of Mongo, Redis and nginx are used. The nginx docker use HTTPS, it's neccessary to put the certificates in the root folder of the project, to only port used to connect to the LL webpage, xapi and api endpoints is 90.

Usage

To build the images:

docker-compose build

To run the services:

docker-compose up

To create a new user and organisation for the site:

docker-compose exec learninglocker bash -c "cd /src/learninglocker && node cli/dist/server createSiteAdmin [email] [organisation] [password]"