Add Mongo webui (#1687)
* add mongo webui * update * Update env-example
This commit is contained in:
parent
6fa2b75bb7
commit
1823060c4b
@ -742,3 +742,20 @@ services:
|
|||||||
- "${NETDATA_PORT}:19999"
|
- "${NETDATA_PORT}:19999"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- 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 ###############################################
|
||||||
NETDATA_PORT=19999
|
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
|
||||||
|
3
mongo-webui/Dockerfile
Normal file
3
mongo-webui/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM mongoclient/mongoclient
|
||||||
|
|
||||||
|
LABEL maintainer="ahkui <ahkui@outlook.com>"
|
Loading…
Reference in New Issue
Block a user