Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix Cube quick start page #22

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions third-party-tools/cube.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -47,6 +48,7 @@ services:
image: "cubejs/cube:latest"
ports:
- "4000:4000"
env_file: "cube.env"
volumes:
- ".:/cube/conf"
questdb:
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion third-party-tools/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading