Using Docker and Docker Compose


To run docker for development:
# Run up mongo and docker locally using the default docker-compose.yml
docker-compose build # re-run after changing dependencies
docker-compose up # run in background.
docker-compose up -d # run in background.
docker-compose stop # stop from background
docker-compose log -f # follow logfiles.

# this version keeps the Stdio coming to the console.
docker-compose run --service-ports web

To override the web port set the WEB_PORT environment variable 
e.g
WEB_PORT=9000 docker-compose up
To run and watch the 

To run docker for production:

docker-compose -f docker-compose-production.yml up --build

To reset the database:

docker-compose down --volumes