This is a docker container for Learning Locker. As such, link to a running mongoDB container is required.
This Learning Locker uses Mongo 3.2.
- hongymagic/learninglocker:1.12.1-http
- hongymagic/learninglocker:1.12.1, latest
All Dockerfile are managed in this GitHub repo.
Best usage is via docker-compose. Please checkout docker-compose.yml for
more detailed information.
> git clone git@github.com:hongymagic/learninglocker.git
> cd learninglocker
> docker-compose build
> docker-compose up
Make sure to map lrs.docker.dev to your docker-machine. Then visit the HTTPS-enabled website.
Users of this container are strongly encourage to change all non-optional environment variables when running this container.
APP_URL: FQDN of the final URL, if missing defaults toTUTUM_SERVICE_FQDNthen$HOSTNAMEAPP_SECRET_KEY: Encryption key used by learning locker. Defaults toCHANGEME12345678SMTP_SERVERSMTP_PORTSMTP_USERSMTP_PASSWORDEMAIL_FROM_NAMEEMAIL_FROM_ADDRESS
MONGO_WAIT_TIMEOUT: (optional) Time to wait before mongo container becomes live. Defaults to 10 secondsAWS_S3_BUCKET_PATH: (optional) AWS S3 Bucket path to download certificates from. The path should be of the forms3://my-bucket/www.example.com/certs/*. And below two keys are also required. If missing, will generate a self-signed certificateAWS_S3_ACCESS_KEY_IDAWS_S3_SECRET_ACCESS_KEY