Golang Web Application with Mongo connection
docker build -t daocloud/go-mongo .
- MONGODB_PORT_27017_TCP_ADDR=localhost
- MONGODB_PORT_27017_TCP_PORT=27017
- MONGODB_USERNAME /* leave empty by default */
- MONGODB_PASSWORD /* leave empty by default */
- MONGODB_INSTANCE_NAME=test
docker run --link your_mongo:mongodb -d -p 80:80 daocloud/go-mongo