Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

mongo-ssl

Overview

MongoDb+SSL docker container.

Description

The good folks at 10gen, in their infinite wisdom, decided to charge $
for an SSL enabled mongodb instance vs offering it as a package...
Hence we are left with building our own. This Docker image is a representation
of building a ubuntu based mongodb+ssl image.

Usage

Fetch the container from teh 'hub'

docker pull derailed/mongo-ssl

Launch mongo

This container will fire up an instance of mongodb using a mongodb yaml config
file named mongo.yaml. You will need to specify a volume on where to find the
configuration file as well as other dependent files such as .pem file or others.
Assuming you have a directory mongo_config in your current dir containing a yaml
configuration.

docker run --rm -p 27017:27017 -v `pwd`/mongo_config:/config derailed/mongo-ssl

Release

  • 0.0.2 - Trim down image size - only includes bin/mongod
  • 0.0.1 - Initial container drop. MongoDB Version 2.6.5
Docker Pull Command
Owner
derailed
Source Repository

Comments (2)
duluca
a month ago

A sample yml file can be found in the SSL docs https://docs.mongodb.com/manual/tutorial/configure-ssl/ -- but also this image is not based on the official mongo image, I'm working on an image based on the official image that also configures user auth with admin and user app & database. Adding SSL to it soon. Check it out https://hub.docker.com/r/excellalabs/mongo/

waitingkuo
3 years ago

Nice work! can your provide some simple config in your github repo?