This project provides a Docker image for the Adapt Authoring tool. It was forked from garyritchie/docker-adaptauthoring to support newer versions.
The Docker image is available as rechnerherz/adapt-authoring/.
Set it up with the following commands:
docker run -d --name adapt-db -v adapt-db:/data/db -v adapt-configdb:/data/configdb mongo
docker run -d --name adapt-authoring -p 5000:5000 --link adapt-db -v adapt-data:/adapt_authoring rechnerherz/adapt-authoring:0.11.3
docker exec -it adapt-authoring node install --dbHost adapt-db
docker restart adapt-authoring
The Adapt Authoring tool should now be available at localhost:5000.
For a full stack, see the docker-compose.yml
.
After the setup, run it with:
docker-compose up -d
docker build . -t "adapt-authoring:0.11.3" -t "adapt-authoring:latest"
To push it to Docker Hub:
docker tag "adapt-authoring:0.11.3" "rechnerherz/adapt-authoring:0.11.3"
docker tag "adapt-authoring:latest" "rechnerherz/adapt-authoring:latest"
docker push "rechnerherz/adapt-authoring:0.11.3"
docker push "rechnerherz/adapt-authoring:latest"