Public | Automated Build

Last pushed: a year ago
Short Description
Docker image of excellent mongodb UI rockmongo http://rockmongo.com/
Full Description

rockermongo

Dockerization of excellent mongodb UI rockmongo http://rockmongo.com/


RUN

To connect to a mongo database from localhost, simply run
docker run --detach --name rockermongo --env MONGO_HOST=localhost --env MONGO_PORT=27017 --publish 80:80 tonysickpony/rockermongo

To connect to a mongo container, either use the good old link flag

docker run 
      --detach \
      --name mongodb  mongo
docker run \
      --detach \
      --name rockermongo \
      --link mongodb:mongo \
      --env MONGO_HOST=mongo \
      --publish 80:80 \
      tonysickpony/rockermongo

or use the docker network

docker network create my_network
docker run \
      --detach \
      --name mongo \
      --net my_network \
      mongo
docker run \
      --detach \
      --name rockermongo \
      --net my_network \
      --env MONGO_HOST=mongo \
      --publish 80:80 \
      tonysickpony/rockermongo

To connect to a url, run

docker run \
      --detach \
      --name rockermongo \
      --env MONGO_HOST=[remote url] \
      --publish 80:80 \
      tonysickpony/rockermongo

SET PASSWORD

To set password on the go, run docker container with --env MONGO_ADMIN_PASSWORD=[your password] flag

Docker Pull Command
Owner
tonysickpony
Source Repository