-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathapp.yaml
More file actions
38 lines (36 loc) · 1.21 KB
/
Copy pathapp.yaml
File metadata and controls
38 lines (36 loc) · 1.21 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
36
37
38
# Databricks Apps configuration
# Maps app resources to environment variables consumed by the Next.js backend.
#
# Required app resources (configure in Databricks App UI → Resources tab):
# 1. SQL Warehouse — resource key: "sql-warehouse" (grant CAN_USE)
#
# The DATABRICKS_WAREHOUSE_ID env var is populated automatically from the
# resource binding below. If deploying via scripts/deploy.sh, the script
# handles warehouse selection and binding.
#
# Lakebase Autoscale is self-provisioned at startup when ENABLE_LAKEBASE=true,
# using the platform-injected service principal credentials
# (DATABRICKS_CLIENT_ID / DATABRICKS_CLIENT_SECRET / DATABRICKS_HOST).
# No secret scope or DATABASE_URL binding needed.
command:
- "sh"
- "scripts/start.sh"
env:
- name: DATABRICKS_WAREHOUSE_ID
valueFrom: sql-warehouse
- name: AUTH_MODE
value: "obo"
- name: UNIFIED_OBSERVABILITY_CATALOG
value: "main"
- name: UNIFIED_OBSERVABILITY_SCHEMA
value: "unified_observability"
- name: SPARK_HOTSPOT_LIMIT
value: "25"
- name: SQL_FRESHNESS_SLO_MINUTES
value: "30"
- name: SPARK_FRESHNESS_SLO_MINUTES
value: "120"
- name: PHOTON_FRESHNESS_SLO_MINUTES
value: "1440"
- name: GENIE_SPACE_ID
value: ""