From 9ed7bb124c6bad21645ab0a548149238b9d13217 Mon Sep 17 00:00:00 2001 From: Andrey Pechkurov Date: Thu, 18 Jul 2024 12:05:29 +0300 Subject: [PATCH] fix: fix Cube quick start page --- third-party-tools/cube.md | 14 +++++++++++--- third-party-tools/grafana.md | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/third-party-tools/cube.md b/third-party-tools/cube.md index fe63366a..b67183cc 100644 --- a/third-party-tools/cube.md +++ b/third-party-tools/cube.md @@ -1,6 +1,7 @@ --- title: "Cube" -description: Yaa +description: + Guide for QuestDB and Cube integration. --- Cube is middleware that connects your data sources and your data applications. @@ -47,6 +48,7 @@ services: image: "cubejs/cube:latest" ports: - "4000:4000" + env_file: "cube.env" volumes: - ".:/cube/conf" questdb: @@ -58,13 +60,13 @@ services: - "8812:8812" ``` -Within your project directory, create an `.env` file. +Within your project directory, create an `cube.env` file. These variables will allow Cube to connect to your QuestDB deployment. Remember: default passwords are dangerous! We recommend altering them. -```shell title=.env +```bash title=.env CUBEJS_DB_HOST=questdb CUBEJS_DB_PORT=8812 CUBEJS_DB_NAME=qdb @@ -73,6 +75,12 @@ CUBEJS_DB_PASS=quest CUBEJS_DB_TYPE=questdb ``` +Create `model` directory to be used by Cube: + +```bash +mkdir model +``` + Finally, bring it all up with Docker: ```bash title=shell diff --git a/third-party-tools/grafana.md b/third-party-tools/grafana.md index 2003c20b..c0d30d11 100644 --- a/third-party-tools/grafana.md +++ b/third-party-tools/grafana.md @@ -2,7 +2,7 @@ title: Grafana description: Guide for fastest, high performance time-series data visualizations with - QuestDB and Grafana + QuestDB and Grafana. --- import Screenshot from "@theme/Screenshot"