Unofficial Docker image for Adapt Authoring tool.
Go to file
3wc 3c24688336 Update README and .env_example 2020-10-02 17:12:41 +02:00
.dockerignore Use separate entrypoint to combine compose files 2020-10-02 14:21:50 +02:00
.env_example Update README and .env_example 2020-10-02 17:12:41 +02:00
.gitignore Not a great idea to store secrets. 2020-06-22 12:08:32 -04:00
Dockerfile Use separate entrypoint to combine compose files 2020-10-02 14:21:50 +02:00
README.md Update README and .env_example 2020-10-02 17:12:41 +02:00
docker-compose.yml Use separate entrypoint to combine compose files 2020-10-02 14:21:50 +02:00
docker-entrypoint.sh Use separate entrypoint to combine compose files 2020-10-02 14:21:50 +02:00

README.md

docker-adaptauthoring

Authoring SCORM-compatible training using the Adapt Authoring tool.

How to use this image

Because Adapt requires a database to run, the easiest way to get started is to use docker-compose to set up Adapt and MongoDB automatically.

Fetch the example docker-compose.yml:

wget https://github.com/3-w-c/docker-adaptauthoring/blob/master/docker-compose.yml

Edit the variables under services.app.environment, then push the button!

docker-compose up

Environment variables

You can configure Adapt's initial set-up using these variables:

  • DOMAIN - hostname for the Adapt service
  • PORT (default 5000) - TCP port for the Adapt service
  • DB_HOST - MongoDB server hostname
  • DB_USER - MongoDB username
  • DB_NAME - MongoDB database name
  • SESSION_SECRET - HTTP session secret key (set to something random)
  • ADMIN_EMAIL - email address for the default superuser account
  • ADMIN_PASSWORD - password for the default superuser account
  • FROM_EMAIL - From: email address for notifications

Docker secrets

As well as environment variables, you can also load SESSION_SECRET and ADMIN_PASSWORD from files, which is helpful if want to keep secret data in Docker swarm mode secrets.

Simply set SESSION_SECRET_FILE / ADMIN_PASSWORD_FILE.