Sign inSign up

e96tech/mongo

By e96tech

Updated over 8 years ago

mongo with consul agent

Image
0

8.0K

e96tech/mongo repository overview

DISCLAIMER

Docker build of mongodb with consul agent

Usage:

docker run -d \
  -e CONSUL_JOIN="172.0.0.1 172.0.1.2" \
  -e CONSUL_DC="mydc" \
  -e CONSUL_SERVICE_NAME="mongo" \
  e96tech/mongo:3.4

Env vars:

  • CONSUL_JOIN: list of consul servers to join separated by space
  • CONSUL_DC: consul datacenter name
  • CONSUL_SERVICE_NAME: service name to register in consul

Tag summary

Content type

Image

Digest

Size

148.9 MB

Last updated

over 8 years ago

docker pull e96tech/mongo