Commit 1823060c authored by ahkui's avatar ahkui Committed by Shao Yu-Lung (Allen)

Add Mongo webui (#1687)

* add mongo webui
* update
* Update env-example
parent 6fa2b75b
......@@ -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
......@@ -362,3 +362,9 @@ SOLR_DATAIMPORTHANDLER_MYSQL=false
### NETDATA ###############################################
NETDATA_PORT=19999
### MONGOWEBUI ###############################################
MONGO_WEBUI_PORT=3000
MONGO_WEBUI_ROOT_URL=http://localhost
MONGO_WEBUI_MONGO_URL=mongodb://mongo:27017/
MONGO_WEBUI_INSTALL_MONGO=false
FROM mongoclient/mongoclient
LABEL maintainer="ahkui <ahkui@outlook.com>"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment