Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
goodroot authored Jul 18, 2024
2 parents ee53e86 + 282bb3b commit 129aab3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
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

0 comments on commit 129aab3

Please sign in to comment.