Overview
- Full name
docker.io/cubejs/cube- Registry
- docker.io
- Namespace
- cubejs
- Repository
- cube
- Cached tags
- 2236
- Last synced
- 07/06/2026, 04:42 AM
Introduction
Cube.js 语义层分析 API 镜像,将 SQL 数据源抽象为 REST/GraphQL 指标 API,适合 BI 前端与嵌入式 analytics。
Details
cubejs/cube 运行 Cube API Server 与 Refresh Worker,连接 PostgreSQL/ClickHouse 等源并缓存 pre-aggregation。定位为 analytics API 服务,配置 CUBEJS_DB_* 与 schema 文件;K8s Deployment + Ingress 内网 BI 数据层。
快速启动
docker run -d --name cube \
-p 4000:4000 \
-e CUBEJS_DB_TYPE=postgres \
-e CUBEJS_DB_HOST=postgres \
docker.io/cubejs/cube:latest
推荐实践
docker run -d --name cube \
--restart unless-stopped \
-p 4000:4000 \
-v /opt/cube/schema:/cube/conf \
-e CUBEJS_DB_TYPE=postgres \
-e CUBEJS_DB_HOST=postgres.internal \
-e CUBEJS_API_SECRET=changeme \
docker.io/cubejs/cube:0.34.0
核心参数说明
-p 4000:4000— Cube REST/GraphQL API-v .../schema:...— 指标 schema 定义-e CUBEJS_API_SECRET— API 签名密钥(高敏)- 固定 tag — Cube pin
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: cube
spec:
replicas: 2
selector:
matchLabels:
app: cube
template:
metadata:
labels:
app: cube
spec:
containers:
- name: cube
image: docker.io/cubejs/cube:0.34.0
ports:
- containerPort: 4000
envFrom:
- secretRef:
name: cube-env
volumeMounts:
- name: schema
mountPath: /cube/conf
volumes:
- name: schema
configMap:
name: cube-schema
---
apiVersion: v1
kind: Service
metadata:
name: cube
spec:
selector:
app: cube
ports:
- port: 4000
targetPort: 4000
Redis 缓存独立 Service;Ingress 内网 BI 前端引用。
Latest tags (20)
View all 2236 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/cubejs/cube :testing-drivers | linux/amd64 | 2026/06/30 05:24 | 581.0 MB | sha256:a630cdd06954… | |||
docker.io/cubejs/cube :dev | linux/amd64 | 2026/06/30 02:21 | 766.5 MB | sha256:cddcd7ee9bb7… | |||
docker.io/cubejs/cube :latest | linux/amd64linux/arm64 | 2026/06/25 23:49 | 317.2 MB | sha256:b38f25e1c764… | |||
docker.io/cubejs/cube :v1 | linux/amd64linux/arm64 | 2026/06/25 23:48 | 317.2 MB | sha256:b38f25e1c764… | |||
docker.io/cubejs/cube :v1.6 | linux/amd64linux/arm64 | 2026/06/25 23:48 | 317.2 MB | sha256:b38f25e1c764… | |||
docker.io/cubejs/cube :v1.6.64 | linux/amd64linux/arm64 | 2026/06/25 23:48 | 317.2 MB | sha256:b38f25e1c764… | |||
docker.io/cubejs/cube :jdk | linux/amd64 | 2026/06/25 23:42 | 466.4 MB | sha256:73c38ad00843… | |||
docker.io/cubejs/cube :v1-jdk | linux/amd64 | 2026/06/25 23:42 | 466.4 MB | sha256:73c38ad00843… | |||
docker.io/cubejs/cube :v1.6-jdk | linux/amd64 | 2026/06/25 23:42 | 466.4 MB | sha256:73c38ad00843… | |||
docker.io/cubejs/cube :v1.6.64-jdk | linux/amd64 | 2026/06/25 23:42 | 466.4 MB | sha256:73c38ad00843… | |||
docker.io/cubejs/cube :v1.6.63 | linux/amd64linux/arm64 | 2026/06/25 20:59 | 317.2 MB | sha256:f7bae3be46bc… | |||
docker.io/cubejs/cube :v1.6.63-jdk | linux/amd64 | 2026/06/25 20:52 | 466.3 MB | sha256:714b214d7717… | |||
docker.io/cubejs/cube :v1.6.62 | linux/amd64linux/arm64 | 2026/06/24 01:15 | 317.2 MB | sha256:de35172047dd… | |||
docker.io/cubejs/cube :v1.6.62-jdk | linux/amd64 | 2026/06/24 01:08 | 466.4 MB | sha256:0ea3b8854ae5… | |||
docker.io/cubejs/cube :v1.6.61 | linux/amd64linux/arm64 | 2026/06/23 00:57 | 316.9 MB | sha256:76e8c25acc20… | |||
docker.io/cubejs/cube :v1.6.61-jdk | linux/amd64 | 2026/06/23 00:51 | 466.0 MB | sha256:6eb42d8523d1… | |||
docker.io/cubejs/cube :v1.6.60 | linux/amd64linux/arm64 | 2026/06/19 01:38 | 316.9 MB | sha256:da261dacbbd3… | |||
docker.io/cubejs/cube :v1.6.60-jdk | linux/amd64 | 2026/06/19 01:34 | 466.1 MB | sha256:0ac95ac74f04… | |||
docker.io/cubejs/cube :v1.6.59 | linux/amd64linux/arm64 | 2026/06/17 16:18 | 317.0 MB | sha256:894e5b85a02b… | |||
docker.io/cubejs/cube :v1.6.59-jdk | linux/amd64 | 2026/06/17 16:12 | 466.1 MB | sha256:3ec830325bce… |