Skip to content

morgante/aardvark

Repository files navigation

aardvark

Clarifies acronyms

Docker

This project is containerized with Docker. With docker installed, from the project directory:

  1. Rebuild the docker image with every requirement change: docker build -t morgante/aardvark .
  2. 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.
  3. 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.

Database

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