-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
35 lines (28 loc) · 1.14 KB
/
.env.example
File metadata and controls
35 lines (28 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ============================================================
# DATA SOURCE — configure for your database
# ============================================================
# DuckDB example:
CUBEJS_DB_TYPE=duckdb
CUBEJS_DB_DUCKDB_DATABASE_PATH=/data/my-database.duckdb
# Postgres example (uncomment):
# CUBEJS_DB_TYPE=postgres
# CUBEJS_DB_HOST=host.docker.internal
# CUBEJS_DB_PORT=5432
# CUBEJS_DB_NAME=mydb
# CUBEJS_DB_USER=myuser
# CUBEJS_DB_PASS=mypassword
# ============================================================
# CUBE CONFIGURATION
# ============================================================
# Optional: HS256 secret for signing Cube JWTs.
# If set, both Cube and Bonnard use it for authenticated communication.
# Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# CUBE_API_SECRET=
# ============================================================
# BONNARD CONFIGURATION
# ============================================================
# Optional: protect the admin UI and API with a bearer token.
# ADMIN_TOKEN=
# Optional: custom ports (defaults: Cube=4000, Bonnard=3000).
# CUBE_PORT=4000
# BONNARD_PORT=3000