Skip to content

Commit

Permalink
fix: fix Cube quick start page (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
puzpuzpuz authored Jul 18, 2024
1 parent ab9d0be commit 282bb3b
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

This comment has been minimized.

Copy link
@goodroot

goodroot Jul 18, 2024

Collaborator

/me whistles inconspicuously

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 282bb3b

Please sign in to comment.