Skip to content

Installs Mongo and Bindaas as a container and mounts appropriate directories

Notifications You must be signed in to change notification settings

KathiraveluLab/BMIC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMIC: Bindaas-Mongo Integrated Container

  • Installs Mongo
  • Installs Bindaas

For the Bindaas User: Running the Docker Container

Make sure to have the current directory to be writable by the Docker user.

$ docker run --name bindaas-mongo -e TZ=America/New_York -v $PWD/projects:/root/bindaas/bin/projects -v $PWD/log:/root/bindaas/log/ -p 9099:9099 pradeeban/bindaas:3.4.2withMongo

or with the web interface:

$ docker run --name bindaas-mongo -e TZ=America/New_York -v $PWD/projects:/root/bindaas/bin/projects -v $PWD/log:/root/bindaas/log/ -p 9099:9099 -p 8080:8080 pradeeban/bindaas:3.4.2withMongo

For the Bindaas Developer: Building the Docker Container

From the root directory,

$ docker build -t bindaas:3.4.2withMongo .

You will get the output "Successfully tagged bindaas:3.4.2withMongo" if everything went fine.

Confirm that by running

$ docker image ls

REPOSITORY TAG IMAGE ID CREATED SIZE

bindaas 3.4.2withMongo a9a81d677bb2 5 minutes ago 59MB

Tag the image with the user name:

$ docker tag bindaas:3.4.2withMongo pradeeban/bindaas:3.4.2withMongo

Log in and push the image to the Docker repository:

Before committing, make sure Bindaas runs fine in the container using the command above listed under the "For the Bindaas User" section.

$ docker login

$ docker push pradeeban/bindaas:3.4.2withMongo

About

Installs Mongo and Bindaas as a container and mounts appropriate directories

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 92.6%
  • Shell 7.4%