Add Mongo webui (#1687)

* add mongo webui
* update
* Update env-example
This commit is contained in:
ahkui
2018-07-06 20:54:44 +08:00
committed by Shao Yu-Lung (Allen)
parent 6fa2b75bb7
commit 1823060c4b
3 changed files with 26 additions and 0 deletions

View File

@ -742,3 +742,20 @@ services:
- "${NETDATA_PORT}:19999"
networks:
- backend
### MongoWebUI ################################################
mongo-webui:
build:
context: ./mongo-webui
environment:
- ROOT_URL=${MONGO_WEBUI_ROOT_URL}
- MONGO_URL=${MONGO_WEBUI_MONGO_URL}
- INSTALL_MONGO=${MONGO_WEBUI_INSTALL_MONGO}
volumes:
- ${DATA_PATH_HOST}/mongo-webui:/data/db
ports:
- "${MONGO_WEBUI_PORT}:3000"
networks:
- backend
depends_on:
- mongo