You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`PGHOST`| Lakebase host (auto-injected in production by the `postgres` Databricks Apps resource) |
114
+
|`PGDATABASE`| Database name (auto-injected in production by the `postgres` Databricks Apps resource) |
115
+
|`PGSSLMODE`| TLS mode — set to `require` (auto-injected in production by the `postgres` Databricks Apps resource) |
115
116
116
-
Ensure that those environment variables are set both for local development (`.env` file) and for deployment (`app.yaml` file):
117
+
When deployed to Databricks Apps with a `postgres` database resource configured, `PGHOST`, `PGDATABASE`, `PGSSLMODE`, `PGUSER`, `PGPORT`, and `PGAPPNAME` are automatically injected by the platform. Only `LAKEBASE_ENDPOINT` must be set explicitly:
For the full configuration reference (SSL, pool size, timeouts, logging, ORM examples), see the [`@databricks/lakebase` README](https://github.com/databricks/appkit/blob/main/packages/lakebase/README.md).
0 commit comments