An open API service indexing awesome lists of open source software.

https://github.com/dpeite/learninglocker2-docker

Docker image of Learning Locker 2 LRS
https://github.com/dpeite/learninglocker2-docker

docker-image learning-locker xapi

Last synced: 11 months ago
JSON representation

Docker image of Learning Locker 2 LRS

Awesome Lists containing this project

README

          

# 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](https://github.com/michzimny/learninglocker2-docker))

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]"
```