Clarifies acronyms
This project is containerized with Docker. With docker installed, from the project directory:
- Rebuild the docker image with every requirement change:
docker build -t morgante/aardvark .
- Run the docker image, with a mount for development:
docker run -P -v /var/code/aardvark/:/src -d -t morgante/aardvark
where/var/code/aardvark/
is the porject directory on the host machine. - The docker container should automatically be exposed on a port in your host machine. To find the port, just type
docker ps
.
For production, the mounting is unnecessary: docker run -P -d -t morgante/aardvark
.
Our MongoDB instance is containerize and hosted remotely.
It can be connected to at aardvark.morgante.net on port 49220.
mongo aardvark.morgante.net:49220
It can also be run locally:
docker run --name amongo -d -p 49220:27017 --entrypoint="/usr/bin/mongod" morgante/amongo