||4 months ago|
|.dockerignore||3 years ago|
|.drone.yml||4 months ago|
|.env_example||3 years ago|
|.gitignore||3 years ago|
|Dockerfile||4 months ago|
|README.md||4 months ago|
|docker-compose.yml||3 years ago|
|docker-entrypoint.sh||3 years ago|
Docker configuration for the Adapt Authoring tool: create SCORM-compatible training.
Migrated from https://github.com/3-w-c/docker-adaptauthoring
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
Edit the variables under
services.app.environment, then push the button!
You can configure Adapt's initial set-up using these variables:
DOMAIN- hostname for the Adapt service
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 address for notifications
(If you edit these settings after set-up, you'll need to manually edit
/adapt_authoring/conf/config.json with the new values as well)
As well as environment variables, you can also load
ADMIN_PASSWORD from files, which is helpful if you want to keep secret data in
Docker swarm mode secrets.
To remove containers
To remove data (courses)
This will delete your hard work.
docker volume rm dockeradaptauthoring_adaptdb docker volume rm dockeradaptauthoring_adaptdata
Create local archives of both the
adapt_authoring folder and database:
docker run -it -w /backup -v dockeradaptauthoring_adaptdb:/adaptdb \ -v $(pwd)/backup:/backup dockeradaptauthoring_authoring \ bash -c "tar -czvf adaptdata_`date +"%Y-%m-%d_%H-%M-%S"`.tar.gz /adapt_authoring && tar -czvf adaptdb_`date +"%Y-%m-%d_%H-%M-%S"`.tar.gz /adaptdb"
coop-cloud/adapt_authoring for an example Docker "swarm mode"
configuration, including secrets, SSL reverse proxy, and continuous integration
tests of the stack deployment.
- If you run the installer script many times in quick succession, you might get rate-limited by Github (the script checks Github for the latest Adapt Authoring version, and to clone the Authoring Framework and plug-ins). Wait an hour, or use a VPN.
node upgradedoesn't work, because code is downloaded as a ZIP archive instead of using a