Add Metabase for analytics and Business Intelligence (#1711)
* Include metabase service * Removing unecessary environment variables * Update documentation
This commit is contained in:
parent
303dadf33d
commit
8180804ae0
|
@ -555,6 +555,19 @@ docker-compose up -d netdata
|
||||||
|
|
||||||
2 - Open your browser and visit the localhost on port **19999**: `http://localhost:19999`
|
2 - Open your browser and visit the localhost on port **19999**: `http://localhost:19999`
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<a name="Use-Metabase"></a>
|
||||||
|
## Use Metabase
|
||||||
|
|
||||||
|
1 - Run the Metabase Container (`metbase`) with the `docker-compose up` command. Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker-compose up -d metabase
|
||||||
|
```
|
||||||
|
|
||||||
|
2 - Open your browser and visit the localhost on port **3030**: `http://localhost:3030`
|
||||||
|
|
||||||
|
3 - You can use environment to configure Metabase container. See docs in: [Running Metabase on Docker](https://www.metabase.com/docs/v0.12.0/operations-guide/running-metabase-on-docker.html)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -876,3 +876,16 @@ services:
|
||||||
- backend
|
- backend
|
||||||
depends_on:
|
depends_on:
|
||||||
- mongo
|
- mongo
|
||||||
|
|
||||||
|
### Metabase #################################################
|
||||||
|
metabase:
|
||||||
|
image: metabase/metabase:latest
|
||||||
|
environment:
|
||||||
|
- MB_DB_FILE=/metabase-data/${METABASE_DB_FILE}
|
||||||
|
ports:
|
||||||
|
- ${METABASE_PORT}:3000
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH_HOST}/metabase-data:/metabase-data
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
|
||||||
|
|
|
@ -402,3 +402,8 @@ MONGO_WEBUI_PORT=3000
|
||||||
MONGO_WEBUI_ROOT_URL=http://localhost
|
MONGO_WEBUI_ROOT_URL=http://localhost
|
||||||
MONGO_WEBUI_MONGO_URL=mongodb://mongo:27017/
|
MONGO_WEBUI_MONGO_URL=mongodb://mongo:27017/
|
||||||
MONGO_WEBUI_INSTALL_MONGO=false
|
MONGO_WEBUI_INSTALL_MONGO=false
|
||||||
|
|
||||||
|
### METABASE ###############################################
|
||||||
|
METABASE_PORT=3030
|
||||||
|
METABASE_DB_FILE=metabase.db
|
||||||
|
METABASE_JAVA_TIMEZONE=US/Pacific
|
Loading…
Reference in New Issue