Skip to content

Commit

Permalink
Add Mongo webui (#1687)
Browse files Browse the repository at this point in the history
* add mongo webui
* update
* Update env-example
  • Loading branch information
ahkui authored and bestlong committed Jul 6, 2018
1 parent 6fa2b75 commit 1823060
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yml
Expand Up @@ -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
6 changes: 6 additions & 0 deletions env-example
Expand Up @@ -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
3 changes: 3 additions & 0 deletions mongo-webui/Dockerfile
@@ -0,0 +1,3 @@
FROM mongoclient/mongoclient

LABEL maintainer="ahkui <ahkui@outlook.com>"

0 comments on commit 1823060

Please sign in to comment.