Cube is middleware that connects your data sources and your data applications. Cube provides an API-first semantic layer for consolidating, caching, and securing connections. Instead of having independent lines between data stores and analytics, business or AI tools, Cube consolidates the complexity of overall data modelling and cross-source data exchange into a cleaner interface.
As a high performance time-series database, QuestDB and Cube are a strong pair. Together, efficiently bridge your QuestDB data to one of the many applications and libraries which integrate with Cube.
This document is a quick start designed to get both applications running together. For a deeper tutorial, see Time Series Data Analytics with QuestDB and Cube.
Run QuestDB and Cube through Docker.
First, create and enter an example directory:
Next, create a dockerfile within the project directory:
Within your project directory, create an
These variables will allow Cube to connect to your QuestDB deployment.
Remember: default passwords are dangerous! We recommend altering them.
Finally, bring it all up with Docker:
Both applications are now up and ready.
- QuestDB: http://localhost:9000
- Cube: http://localhost:4000
Not sure what to do next? Check out our tutorial for inspiration.