3c24688336 | ||
---|---|---|
.dockerignore | ||
.env_example | ||
.gitignore | ||
Dockerfile | ||
README.md | ||
docker-compose.yml | ||
docker-entrypoint.sh |
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 servicePORT
(default5000
) - TCP port for the Adapt serviceDB_HOST
- MongoDB server hostnameDB_USER
- MongoDB usernameDB_NAME
- MongoDB database nameSESSION_SECRET
- HTTP session secret key (set to something random)ADMIN_EMAIL
- email address for the default superuser accountADMIN_PASSWORD
- password for the default superuser accountFROM_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
.