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
- Host: GitHub
- URL: https://github.com/dpeite/learninglocker2-docker
- Owner: dpeite
- Created: 2017-12-12T09:27:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-16T09:45:09.000Z (over 7 years ago)
- Last Synced: 2025-02-01T17:13:19.756Z (about 1 year ago)
- Topics: docker-image, learning-locker, xapi
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]"
```