mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
* fix: restrict editor-written code in the builder editor and on the editor hostname * fix: simplify builder author code restrictions by hostname * refactor: remove redundant backend custom code hostname checks * refactor: unify builder HTML element rendering restrictions * refactor: clarify builder web frontend hostname terminology * fix: distinguish untrusted builder content in preview notices * refactor: remove unused backend preview security setting * docs: shorten builder code restriction changelog * fix: restrict iframe cookie access across frontend ports * refactor: share web frontend hostname matching * fix: preserve protected HTML interactions and bound iframe height --------- Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
591 lines
209 KiB
Markdown
591 lines
209 KiB
Markdown
# Configuring Baserow
|
||
|
||
> Any questions, problems or suggestions with this guide? Ask a question in our
|
||
> [community](https://community.baserow.io/) or contribute the change yourself at
|
||
> https://github.com/baserow/baserow/tree/develop/docs .
|
||
|
||
The table below shows all available environment variables supported by Baserow.
|
||
Some environment variables have different defaults, are not supported, are optional etc
|
||
depending on how you installed Baserow. See the specific installation guides for how
|
||
to set these environment variables.
|
||
|
||
## Environment Variables
|
||
|
||
The installation methods referred to in the variable descriptions are:
|
||
|
||
* [The Standalone service images](install-using-standalone-images.md)
|
||
* [The baserow/baserow "all in one" image](install-with-docker.md)
|
||
* [The Docker compose install](install-with-docker-compose.md)
|
||
|
||
> Variables marked with *Internal* should only be changed if you know what you are
|
||
> doing.
|
||
|
||
### Access Configuration
|
||
| Name | Description | Defaults |
|
||
|---------------------------------------------------------| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
||
| BASEROW\_PUBLIC\_URL | The public URL or IP that will be used to access the Baserow tool. Always should start with http:// https:// even if accessing via an IP address. If you are accessing Baserow over a non-standard (80) http port then make sure you append :YOUR\_PORT to this variable.<br><br>Setting this will override PUBLIC\_BACKEND\_URL and PUBLIC\_WEB\_FRONTEND\_URL with BASEROW\_PUBLIC\_URL’s value.<br>Set to empty to disable default of http://localhost in the compose to instead set PUBLIC\_X\_URLs. Note that other URL will be treated as a published application builder domains. | http://localhost |
|
||
| BASEROW\_EXTRA\_PUBLIC\_URLS | An optional comma-separated list of additional public URLs where Baserow tool will be accessible. These URLs will have the same behavior as BASEROW\_PUBLIC\_URL (not treated as published applications). The difference is that `BASEROW\_PUBLIC\_URL` is used in email communication. This is useful when running Baserow behind multiple domain names or when using different URLs for different network access (e.g., both public and private). Example: `http://app.example.com,https://baserow.company.local`. | |
|
||
| BASEROW\_CADDY\_ADDRESSES | **Not supported by standalone images.** A comma separated list of supported Caddy addresses( [https://caddyserver.com/docs/caddyfile/concepts#addresses](https://caddyserver.com/docs/caddyfile/concepts#addresses)). If a https:// url is provided the Caddy reverse proxy will attempt to [automatically setup HTTPS](https://caddyserver.com/docs/automatic-https) with lets encrypt for you. If you wish your Baserow to still be accessible on localhost and you set this value away from the default of :80 ensure you append “,[http://localhost](http://localhost/)” | :80 |
|
||
| PUBLIC\_BACKEND\_URL | Please use BASEROW\_PUBLIC\_URL unless you are using the standalone baserow/backend or baserow/web-frontend images. The publicly accessible URL of the backend. Should include the port if non-standard. Ensure BASEROW\_PUBLIC\_URL is set to an empty value to use this variable in the compose setup. | $BASEROW\_PUBLIC\_URL, http://localhost:8000/ in the standalone images. |
|
||
| PUBLIC\_WEB\_FRONTEND\_URL | Please use BASEROW\_PUBLIC\_URL unless you are using the standalone baserow/backend or baserow/web-frontend images. The publicly accessible URL of the web-frontend. Should include the port if non-standard. Ensure BASEROW\_PUBLIC\_URL is set to an empty value to use this variable in the compose setup. | $BASEROW\_PUBLIC\_URL, http://localhost:3000/ in the standalone images. |
|
||
| BASEROW\_EMBEDDED\_SHARE\_URL | Optional URL for public sharing and email links that can be used if Baserow is used inside an iframe on a different URL. | $PUBLIC\_WEB\_FRONTEND\_URL |
|
||
| BASEROW\_DASHBOARD\_DATA\_SOURCE\_DISPATCH\_CONCURRENCY | The maximum number of dashboard data sources the web frontend dispatches concurrently. Keep it below BASEROW\_MAX\_CONCURRENT\_USER\_REQUESTS when that limit is enabled. | 5 |
|
||
| WEB\_FRONTEND\_PORT | The HTTP port that is being used to access Baserow using. Only used by the docker-compose files. | Only used by the docker-compose.yml files, defaults to 80 but prior to 1.9 defaulted to 3000. |
|
||
| BASEROW\_EXTRA\_ALLOWED\_HOSTS | An optional comma separated list of hostnames which will be added to the Baserow's Django backend [ALLOWED_HOSTS](https://docs.djangoproject.com/en/4.0/ref/settings/#allowed-hosts) setting. In most situations you will not need to set this as the hostnames from BASEROW\_PUBLIC\_URL or PUBLIC\_BACKEND\_URL will be added to the ALLOWED_HOSTS automatically. This is only needed if you need to allow additional different hosts to be able to access your Baserow. | |
|
||
| PRIVATE\_BACKEND\_URL | **Only change this with standalone images.** This is the URL used when the web-frontend server directly queries the backend itself when doing server side rendering. As such not only the browser, but also<br>the web-frontend server should be able to make HTTP requests to the backend. The web-frontend nuxt server might not have access to the \`PUBLIC\_BACKEND\_URL\` or there could be a more direct route, (e.g. from container to container instead of via the internet). For example if the web-frontend and backend were containers on the same docker network this could be set to http://backend:8000. | |
|
||
| BASEROW\_CADDY\_GLOBAL\_CONF | **Not supported by standalone images.** Will be substituted into the Caddyfiles global config section. Set to “debug” to enable Caddies debug logging. | |
|
||
| BASEROW\_MAX\_IMPORT\_FILE\_SIZE\_MB | The maximum file size in mb you can import to create a new table. Default 512Mb. | 512 |
|
||
| BASEROW\_PERSONAL\_VIEW\_LOWEST\_ROLE\_ALLOWED | When RBAC is enabled from an enterprise or advanced license this controls what lowest user role is allowed to create personal views on a table. The options are: VIEWER (the default), COMMENTER, EDITOR, BUILDER, ADMIN | VIEWER |
|
||
|
||
|
||
### Backend Configuration
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||
| SECRET\_KEY | The Secret key used by Django for cryptographic signing such as generating secure password reset links and managing sessions. See [https://docs.djangoproject.com/en/3.2/ref/settings/#std:setting-SECRET\_KEY](https://docs.djangoproject.com/en/3.2/ref/settings/#std:setting-SECRET_KEY) for more details | Required to be set by you in the docker-compose and standalone installs. Automatically generated by the baserow/baserow image if not provided and stored in /baserow/data/.secret. |
|
||
| SECRET\_KEY\_FALLBACKS | Old values of SECRET\_KEY, still accepted while you rotate it, as a JSON array such as `["old-secret-key"]`. Stored secrets encrypted with a key derived from an old SECRET\_KEY stay readable while it is listed. See [Encryption keys](./encryption-keys.md). | "" (empty string) |
|
||
| SECRET\_KEY\_FILE | **Only supported by the `baserow/baserow` image** If set Baserow will attempt to read the above SECRET\_KEY from this file location instead. | |
|
||
| BASEROW\_JWT\_SIGNING\_KEY | The signing key that is used to sign the content of generated tokens. For HMAC signing, this should be a random string with at least as many bits of data as is required by the signing protocol. See [https://django-rest-framework-simplejwt.readthedocs.io/en/latest/settings.html#signing-key](https://django-rest-framework-simplejwt.readthedocs.io/en/latest/settings.html#signing-key) for more details | Recommended to be set by you in the docker-compose and standalone installs (default to the SECRET\_KEY). Automatically generated by the baserow/baserow image if not provided and stored in /baserow/data/.jwt_signing_key. |
|
||
| BASEROW\_ENCRYPTION\_KEY | The key that encrypts the credentials of MCP servers that Baserow stores: their API keys, OAuth client secrets and OAuth tokens. Other stored credentials aren't encrypted yet. Use a random string of at least 32 characters, e.g. from `openssl rand -base64 32`. It isn't part of database backups, so back it up separately: a database restored without its key loses these secrets. See [Encryption keys](./encryption-keys.md) for backups, restores and changing the key. | Recommended to be set by you in the docker-compose and standalone installs (derived from the SECRET\_KEY when not set). `BASEROW_ENCRYPTION_KEY_FILE` is also supported by the baserow/baserow image. |
|
||
| BASEROW\_ENCRYPTION\_KEY\_FALLBACKS | Older values of BASEROW\_ENCRYPTION\_KEY or SECRET\_KEY, as a JSON array such as `["old-key"]`, only used to read the secrets encrypted with them. See [Encryption keys](./encryption-keys.md) for when to add and remove them. | |
|
||
| BASEROW\_ACCESS\_TOKEN\_LIFETIME\_MINUTES | The number of minutes which specifies how long access tokens are valid. This will be converted in a timedelta value and added to the current UTC time during token generation to obtain the token’s default “exp” claim value. | 10 minutes. |
|
||
| BASEROW\_REFRESH\_TOKEN\_LIFETIME\_HOURS | The number of hours which specifies how long refresh tokens are valid. This will be converted in a timedelta value and added to the current UTC time during token generation to obtain the token’s default “exp” claim value. | 168 hours (7 days). |
|
||
| BASEROW\_ROTATE\_REFRESH\_TOKENS | When true, every token refresh returns a new refresh token and revokes the one that was used. Reusing a revoked refresh token more than 30 seconds later revokes the whole session. Set to false for API clients that reuse the same refresh token. | true |
|
||
| BASEROW\_CACHE\_TTL\_SECONDS | How long (in seconds) to cache lookups of authenticated users, database tokens, instance-wide settings, and active licenses in Redis, to speed up requests and reduce database load. Set to 0 to disable these caches entirely. | 120 |
|
||
| BASEROW\_BACKEND\_LOG\_LEVEL | The default log level used by the backend, supports ERROR, WARNING, INFO, DEBUG, TRACE | INFO |
|
||
| BASEROW\_BACKEND\_DATABASE\_LOG\_LEVEL | The default log level used for database related logs in the backend. Supports the same values as the normal log level. If you also enable BASEROW\_BACKEND\_DEBUG and set this to DEBUG you will be able to see all SQL queries in the backend logs. | ERROR |
|
||
| BASEROW\_DJANGO\_REQUEST\_LOG\_LEVEL | The log level for the `django.request` logger. Default is ERROR to suppress noisy 429 responses under heavy throttling. Supports ERROR, WARNING, INFO, DEBUG. | ERROR |
|
||
| BASEROW\_BACKEND\_DEBUG | If set to “on” then will enable the non production safe debug mode for the Baserow django backend. Only use this if you're using Baserow in development mode. Note that this causes any installed licenses to deactivate and prevent you from adding a new license. | off |
|
||
| BASEROW\_AMOUNT\_OF\_GUNICORN\_WORKERS | The number of concurrent worker processes used by the Baserow backend gunicorn server to process incoming requests | |
|
||
| BASEROW\_AIRTABLE\_IMPORT\_SOFT\_TIME\_LIMIT | The maximum amount of seconds an Airtable migration import job can run. | 1800 seconds - 30 minutes |
|
||
| INITIAL\_TABLE\_DATA\_LIMIT | The amount of rows that can be imported when creating a table. Defaults to empty which means unlimited rows. | |
|
||
| BASEROW\_ROW\_PAGE\_SIZE\_LIMIT | The maximum number of rows that can be requested at once. | 200 |
|
||
| BASEROW\_MAX\_FIELD\_TEXT\_LENGTH | The maximum number of characters accepted when writing a text based field value (single line text, long text, URL, and AI fields with a text output) via the API or web frontend. Existing longer values remain readable. | 1000000 |
|
||
| BASEROW\_FORMULA\_RANGE\_MAX\_ITEMS | The maximum number of items the `range` runtime formula function can generate. Prevents a small formula from producing an unbounded array. | 10000 |
|
||
| BASEROW\_INTEGRATION\_LOCAL\_BASEROW\_BATCH\_OPERATION\_SIZE\_LIMIT | Controls how many rows can be created, updated, or deleted at once using Local Baserow batch workflow actions. | 1000 |
|
||
| BASEROW\_INTEGRATION\_LOCAL\_BASEROW\_PAGE\_SIZE\_LIMIT | The maximum number of rows a Local Baserow list rows service can return at once. Used by Application Builder data sources and automation nodes. | 200 |
|
||
| BASEROW\_REQUEST\_BODY\_SIZE\_LIMIT\_MB | The max size in MB of a JSON or form encoded request body. Bodies over the limit are rejected before they are parsed, with an `ERROR_REQUEST_BODY_TOO_LARGE` response. Unset by default, meaning no limit, because the table import and create endpoints send the whole dataset as one JSON body and the largest legitimate size depends on your data. Note that file uploads to a File Field are covered by `BASEROW_FILE_UPLOAD_SIZE_LIMIT_MB` instead. | unset (no limit) |
|
||
| BASEROW\_INBOUND\_EMAIL\_DOMAIN | The domain used to generate inbound email addresses for the "Start workflow by email" automation trigger, e.g. setting it to `inbound.example.com` generates addresses like `{token}@inbound.example.com`. When empty, the email trigger feature is not configured on this instance. | |
|
||
| BASEROW\_INBOUND\_EMAIL\_WEBHOOK\_SECRET | The shared secret that the inbound mail server must send in the `Authorization` header when delivering inbound email webhooks to the `/api/inbound-email/` endpoint. When empty, the endpoint rejects all requests. Must be at least 8 characters (a long random string is recommended): unless `BASEROW_INBOUND_EMAIL_RECEIVER_PASSWORD` is set it also serves as the receiver's web API password, and mox refuses shorter ones. | |
|
||
| BASEROW\_INBOUND\_EMAIL\_WEBHOOK\_URL | Only used by the `email-receiver` role. The URL the bundled mox mail server POSTs inbound email webhooks to. | `PRIVATE_BACKEND_URL` (falling back to `PUBLIC_BACKEND_URL`) + `/api/inbound-email/` |
|
||
| BASEROW\_INBOUND\_EMAIL\_SMTP\_HOSTNAME | Only used by the `email-receiver` role. The hostname the bundled mox mail server announces in its SMTP banner and uses for its TLS certificate. | $BASEROW\_INBOUND\_EMAIL\_DOMAIN |
|
||
| BASEROW\_INBOUND\_EMAIL\_SMTP\_PORT | Only used by the `email-receiver` role. The SMTP port the bundled mox mail server listens on inside the container. | 25 |
|
||
| BASEROW\_INBOUND\_EMAIL\_HOST\_SMTP\_PORT | Only used by the docker-compose files. The host port that is published to the email receiver's SMTP port. The MX record of the inbound email domain must resolve to this host and port 25 must be reachable from the internet. | 25 |
|
||
| BASEROW\_INBOUND\_EMAIL\_HOST\_PUBLISH\_IP | Only used by the docker-compose files. The host IP address the email receiver's SMTP port is published on. Defaults to `HOST_PUBLISH_IP`, which is `0.0.0.0` in `docker-compose.yml` and `127.0.0.1` in `docker-compose.no-caddy.yml`. Sending mail servers connect to port 25 directly, so with the no-caddy file set this to `0.0.0.0` to accept inbound email without exposing the backend and web-frontend ports. | $HOST\_PUBLISH\_IP |
|
||
| BASEROW\_INBOUND\_EMAIL\_TLS\_MODE | Only used by the `email-receiver` role. `self-signed` generates and persists a self-signed certificate for STARTTLS (sending mail servers use opportunistic TLS and do not validate it). `manual` uses the certificate and key files configured below. | self-signed |
|
||
| BASEROW\_INBOUND\_EMAIL\_TLS\_CERT\_FILE | Only used by the `email-receiver` role when the TLS mode is `manual`. Path inside the container to a PEM certificate (including intermediates) for the SMTP listener. | |
|
||
| BASEROW\_INBOUND\_EMAIL\_TLS\_KEY\_FILE | Only used by the `email-receiver` role when the TLS mode is `manual`. Path inside the container to the PEM private key for the certificate above. Both files must be readable by the unprivileged user mox drops to after binding its ports (uid 9999). | |
|
||
| BASEROW\_INBOUND\_EMAIL\_MAX\_MESSAGE\_SIZE\_MB | Used by the `email-receiver` role and the backend. The largest email, in MB, the bundled mox mail server accepts, attachments included. Larger emails are refused during SMTP delivery and bounce back to the sender. The backend only uses the value to show the limit in the email trigger's side panel, so set it once for the whole deployment. Independently of this limit, mox truncates the text and HTML bodies it forwards at 1MB each and never forwards attachment contents. | 25 |
|
||
| BASEROW\_INBOUND\_EMAIL\_RECEIVER\_URL | The URL where the backend reaches the bundled mox mail server's web API. Mox keeps every accepted message on disk and has no retention setting, so the backend deletes each message through this API about a minute after receiving its webhook, retrying with backoff while the mail server cannot be reached. Leave empty to disable that. | `http://email-receiver:8880` in the docker-compose files, `http://localhost:8880` in the all-in-one image, empty otherwise |
|
||
| BASEROW\_INBOUND\_EMAIL\_WEBAPI\_PORT | Only used by the `email-receiver` role. The port inside the container on which the mail server's web API listens. It is never published; the backend reaches it over the internal network. | 8880 |
|
||
| BASEROW\_INBOUND\_EMAIL\_WEBAPI\_BIND\_IP | Only used by the `email-receiver` role. The address inside the container the mail server's web API listens on. The default lets the backend container reach it over the Compose network; the all-in-one image sets `127.0.0.1` because the backend runs in the same container. | 0.0.0.0 |
|
||
| BASEROW\_INBOUND\_EMAIL\_RECEIVER\_PASSWORD | The password the backend authenticates with when deleting received messages through the mail server's web API. Empty means `BASEROW_INBOUND_EMAIL_WEBHOOK_SECRET` is used, so one secret configures the whole feature. Set it separately to keep the secret that travels in every webhook request out of the receiver's credentials. At least 8 characters. | |
|
||
| BASEROW\_FILE_UPLOAD\_SIZE\_LIMIT\_MB | The max file size in MB allowed to be uploaded by users into a Baserow File Field. | 1048576 (1 TB or 1024*1024) |
|
||
| BASEROW\_FILE\_UPLOAD\_ACTIVE\_CONTENT\_POLICY | Controls how uploads with active-content extensions (`.html`, `.htm`, `.xhtml`, `.xml`, `.svg`, `.svgz`) or MIME types (`text/html`, `text/xml`, `application/xml`, `application/xhtml+xml`, `image/svg+xml`) are handled. Set to `download` to allow them but store them as `application/octet-stream` without image previews. Set to `block` to reject them. | download |
|
||
| BASEROW\_OPENAI\_UPLOADED\_FILE\_SIZE\_LIMIT\_MB | The max file size in MB allowed to be loaded in RAM and uploaded to OpenAI servers. See also [OpenAI docs](https://platform.openai.com/docs/api-reference/files/create). | 512 |
|
||
| BATCH\_ROWS\_SIZE\_LIMIT | Controls how many rows can be created, deleted or updated at once using the batch endpoints. | 200 |
|
||
| BATCH\_ROWS\_SIZE\_LIMIT | Controls how many rows can be created, deleted or updated at once using the batch endpoints. | 200 |
|
||
| FIELD\_RULE\_ROWS\_LIMIT | Used in field rule operations to distinguish between small tables, where per-row results can be emitted, or big tables, where a full table update should be emitted. | 200 (if not provided, `BATCH_ROWS_SIZE_LIMIT` value will be used) |
|
||
| BASEROW\_SNAPSHOT\_EXPIRATION\_TIME\_DAYS | Controls when snapshots expire, set in number of days. Expired snapshots will be automatically deleted. | 360 |
|
||
| BASEROW\_CELERY\_SEARCH\_UPDATE\_HARD\_TIME\_LIMIT | How long the Postgres full-text search Celery tasks can run for being killed. | 1800 |
|
||
| BASEROW\_USE\_PG\_FULLTEXT\_SEARCH | By default, Baserow will use Postgres full-text as its search backend. If the product is installed on a system with limited disk space, and less accurate results / degraded search performance is acceptable, then switch this setting off by setting it to false. | true |
|
||
| BASEROW\_PG\_FULLTEXT\_SEARCH\_UPDATE\_DATA\_THROTTLE\_SECONDS | The delay before triggering the task that updates full-text search data. A higher value reduces how often the task runs when many changes occur but delays how soon newly modified values become searchable. Only one update task will run per table. The value is in seconds | 2 (seconds) |
|
||
| BASEROW\_ASGI\_HTTP\_MAX\_CONCURRENCY | Specifies a limit for concurrent requests handled by a single gunicorn worker. The default is: no limit. | |
|
||
| BASEROW\_ASGI\_HTTP\_MAX\_CONCURRENT\_STREAMS | Limits concurrent long-lived streaming responses, such as AI assistant chat streams, per gunicorn worker. They are counted separately from BASEROW\_ASGI\_HTTP\_MAX\_CONCURRENCY. Extra requests get HTTP 503. Each stream also holds one Redis connection, so a worker may open this many Redis connections. | 100 |
|
||
| BASEROW\_IMPORT\_EXPORT\_RESOURCE\_REMOVAL\_AFTER\_DAYS | Specifies the number of days after which an import/export resource will be automatically deleted. | 5 (days) |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_DEFAULT\_TYPE | The default enterprise code execution type. Set to an empty value to disable enterprise code execution, the code builder workflow action, and the code automation node. | wasmtime\_quickjs |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_WASMTIME\_EXECUTABLE | The path or executable name used to run Wasmtime for enterprise code execution. | wasmtime |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_QUICKJS\_WASM\_PATH | The path to the QuickJS WASM runtime used by enterprise code execution. | /usr/local/lib/baserow/qjs.wasm |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_TIMEOUT\_SECONDS | The maximum number of seconds enterprise code execution can run before timing out. | 5 |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_MEMORY\_LIMIT\_BYTES | The maximum number of bytes the enterprise code WebAssembly linear memory can grow to. | 67108864 |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_FUEL\_LIMIT | The maximum amount of Wasmtime execution fuel available to each enterprise code execution. Set to `0` to disable fuel limiting. | 1000000000 |
|
||
|
||
### OpenTelemetry Configuration
|
||
|
||
See [Monitoring your Baserow server](monitoring.md) for the complete setup and
|
||
[Build OpenTelemetry boards and queries](otel-boards-and-queries.md) for the metrics
|
||
produced by the bundled Collector configuration.
|
||
|
||
| Name | Description | Defaults |
|
||
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
|
||
| BASEROW\_ENABLE\_OTEL | Enables OpenTelemetry logs, metrics, and traces in backend and Celery processes when set to a non-empty value. Set it on every process that must emit telemetry. | Empty (disabled) |
|
||
| BASEROW\_OTEL\_LOG\_LEVEL | The minimum backend log level exported through OpenTelemetry. This is independent from the local backend log level, so telemetry volume can be limited without hiding local informational logs. | WARNING |
|
||
| BASEROW\_OTEL\_SLOW\_REQUEST\_THRESHOLD\_SECONDS | HTTP requests taking at least this many seconds are marked as slow, allowing a tail-sampling Collector to prioritize their complete traces within its configured budget. | 10 |
|
||
| BASEROW\_OTEL\_SLOW\_CELERY\_TASK\_THRESHOLD\_SECONDS | Celery tasks in every queue taking at least this many seconds are marked as slow. Set to `0` to disable duration-based slow-task marking. | 60 |
|
||
| BASEROW\_OTEL\_TAIL\_SAMPLING\_DECISION\_WAIT | **Collector setting.** Maximum time the bundled tail sampler waits for a trace root before deciding. This keeps long-running Celery traces eligible for completion-based slow/error policies. Use an OpenTelemetry duration such as `2m` or `5m`. | 5m |
|
||
| BASEROW\_OTEL\_TAIL\_SAMPLING\_DECISION\_WAIT\_AFTER\_ROOT\_RECEIVED | **Collector setting.** Grace period after a completed root span arrives before the sampling decision. A short value releases ordinary HTTP traces promptly while allowing late child spans to arrive. | 5s |
|
||
| BASEROW\_OTEL\_TAIL\_SAMPLING\_MAX\_SPANS\_PER\_SECOND | **Collector setting.** Maximum ordinary span throughput retained each second by the bundled tail-sampling configuration. Explicitly forced traces bypass this budget. Set to `-1` to retain every eligible trace instead of applying bounded priority sampling. | 250 |
|
||
| BASEROW\_OTEL\_USER\_METRICS\_CARDINALITY\_LIMIT | **Collector setting.** Maximum active dimension combinations retained by each bounded per-user metric connector. Additional combinations are aggregated into an overflow series. | 50000 |
|
||
| BASEROW\_OTEL\_USER\_METRICS\_FLUSH\_INTERVAL | **Collector setting.** How often the bounded per-user request and invitation metric connectors export their accumulated observations. Shorter intervals increase chart resolution and datapoint volume. | 60s |
|
||
| BASEROW\_OTEL\_USER\_METRICS\_SERIES\_EXPIRATION | **Collector setting.** How long an inactive per-user metric series remains tracked before it expires. | 5m |
|
||
| OTEL\_TRACES\_SAMPLER | OpenTelemetry SDK sampler. Use `always_on` when sending complete candidate traces to the bundled tail-sampling Collector; the Collector makes the bounded retention decision. | SDK default; `always_on` in development Docker Compose |
|
||
| OTEL\_SEMCONV\_STABILITY\_OPT\_IN | Selects OpenTelemetry semantic-convention versions. Set to `http` so HTTP metrics use stable attributes and templated routes. | `http` in Docker Compose; otherwise the OpenTelemetry default |
|
||
|
||
### Rate Limiting
|
||
|
||
Baserow can throttle the number of concurrent requests a single user (or, optionally, a single anonymous IP) is allowed to have in flight at the same time. When enabled, excess requests are rejected immediately with a `429 Too Many Requests` response — they do not wait for a slot to free up. Repeat offenders can additionally be added to a short-lived blacklist that is consulted by a lightweight middleware before authentication runs, so that further requests are rejected with zero DB / DRF overhead.
|
||
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
|
||
| BASEROW\_MAX\_CONCURRENT\_USER\_REQUESTS | Limits the number of concurrent requests per authenticated user. When set to a value greater than 0, enables the concurrent-request throttle. Set to -1 or leave unset to disable throttling. Can be overridden on a per-user basis by setting the `concurrency_limit` field on the user's profile, which takes precedence over this value when greater than 0. | -1 (disabled) |
|
||
| BASEROW\_CONCURRENT\_USER\_REQUESTS\_THROTTLE\_TIMEOUT | How long (in seconds) an in-flight request stays counted toward the concurrent-request throttle before it is treated as stale and evicted automatically. | 180 |
|
||
| BASEROW\_THROTTLE\_BLACKLIST\_TTL\_SECONDS | Cooldown (in seconds) applied to denied requests. When greater than 0, a denied request blacklists the token (or IP, if enabled) for that many seconds; subsequent requests are rejected by the throttle-blacklist middleware with zero DB/DRF overhead, matching DRF's standard `Throttled` response shape (with `Retry-After`). When set to 0 or a negative value (default), no blacklist is kept and no `Retry-After` is emitted. Only takes effect when `BASEROW_MAX_CONCURRENT_USER_REQUESTS` is enabled. | -1 (disabled) |
|
||
| BASEROW\_THROTTLE\_IP\_ENABLED | When "true", anonymous requests are included in the concurrent-request throttle using the client IP as the key. Without this flag, anonymous requests bypass the throttle entirely. Independent of the blacklist: when the blacklist is also enabled (`BASEROW_THROTTLE_BLACKLIST_TTL_SECONDS` > 0) the IP-blacklist middleware will additionally reject repeat-offender IPs before they reach the rest of the stack. Only takes effect when `BASEROW_MAX_CONCURRENT_USER_REQUESTS` is enabled. Also turns on `BASEROW_ANONYMOUS_EMAIL_IP_RATE_LIMITS`. | false |
|
||
| BASEROW\_WORKSPACE\_INVITATION\_RATE\_LIMITS | Limits how many workspace invitations a single user can send, across all of their workspaces. Accepts a comma separated list of rate limits formatted as `calls/period`, where the period is `s`, `m` or `h`, for example `30/m,100/h`. Only invitations that are actually created and emailed count towards the limits, so a request that fails validation costs nothing. Staff users are exempt. Leave unset or empty to disable. | "" (disabled) |
|
||
| BASEROW\_WORKSPACE\_INVITATION\_LINK\_LENGTH | The number of letters and digits in the code of a permanent workspace invite link. Longer codes are harder to guess. Values below 7 are raised to 7, and values above 50 are lowered to 50. Only applies to links created after the change. | 12 |
|
||
| BASEROW\_SEND\_VERIFY\_EMAIL\_RATE\_LIMIT | How many email verification emails a single user can receive, in the format `calls/period` with period `s`, `m` or `h`. Requests over the limit still succeed but send no email. | 5/h |
|
||
| BASEROW\_SEND\_RESET\_PASSWORD\_EMAIL\_RATE\_LIMIT | How many password reset emails a single user can receive, in the format `calls/period` with period `s`, `m` or `h`. Requests over the limit still succeed but send no email, so the endpoint doesn't reveal which addresses have an account. | 5/h |
|
||
| BASEROW\_ANONYMOUS\_EMAIL\_IP\_RATE\_LIMITS | Limits how often a single IP address can call the password reset and resend verification email endpoints, for any address. Accepts a comma separated list of rate limits in the format `calls/period`. Requests over the limit get a 429 response. Only applies when `BASEROW_THROTTLE_IP_ENABLED` is "true": the IP is taken from the first `X-Forwarded-For` value, so only enable it when the proxy in front of Baserow sets that header to the real client IP instead of appending to it or replacing it with its own. Leaving it empty keeps the default; a single comma switches the limits off. | 5/m,30/h |
|
||
| BASEROW\_ABUSE\_REPORT\_THROTTLE\_RATE | The rate at which a single IP address can submit abuse reports for publicly shared resources, in DRF throttle rate format (e.g. `5/h`, `10/day`). Set to an empty string to disable the throttle. | 5/h |
|
||
| BASEROW\_ABUSE\_REPORT\_NOTIFICATION\_COOLDOWN\_SECONDS | How long (in seconds) after notifying the instance admins about an abuse report for a resource before a new report for the same resource notifies them again. Reports submitted within the window are still stored and logged. | 86400 |
|
||
|
||
### Backend Database Configuration
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||
| DATABASE\_HOST | The hostname of the postgres database Baserow will use to store its data in. | Defaults to db in the standalone and compose installs. If not provided in the \`baserow/baserow\` install then the embedded Postgres will be setup and used. |
|
||
| DATABASE\_USER | The username of the database user Baserow will use to connect to the database at DATABASE\_HOST | baserow |
|
||
| | | |
|
||
| DATABASE\_PORT | The port Baserow will use when trying to connect to the postgres database at DATABASE\_HOST | 5432 |
|
||
| DATABASE\_NAME | The database name Baserow will use to store data in. | baserow |
|
||
| DATABASE\_PASSWORD | The password of DATABASE\_USER on the postgres server at DATABASE\_HOST | Required to be set by you in the docker-compose and standalone installs. Automatically generated by the baserow/baserow image if not provided and stored in /baserow/data/.pgpass. |
|
||
| DATABASE\_PASSWORD\_FILE | **Only supported by the `baserow/baserow` image** If set Baserow will attempt to read the above DATABASE\_PASSWORD from this file location instead. | |
|
||
| DATABASE\_OPTIONS | Optional extra options as a JSON formatted string to use when connecting to the database, see [this documentation](https://docs.djangoproject.com/en/3.2/ref/settings/#std-setting-OPTIONS) for more details. | |
|
||
| DATABASE\_URL | Alternatively to setting the individual DATABASE\_ parameters above instead you can provide one standard postgres connection string in the format of: postgresql://\[user\[:password\]@\]\[netloc\]\[:port\]\[/dbname\]\[?param1=value1&…\]. Please note this will completely override all other DATABASE_* settings and ignore them. | |
|
||
| | | |
|
||
| DATABASE\_READ_\{n}\_HOST | Optionally provide database information of read-only replicas. Format is the same as the normal database configuration. Replace {n} with 1, 2, 3, etc for every read-only replica that is available. | 5432 |
|
||
| DATABASE\_READ_\{n}\_USER | | 5432 |
|
||
| DATABASE\_READ_\{n}\_PORT | | 5432 |
|
||
| DATABASE\_READ_\{n}\_NAME | | baserow |
|
||
| DATABASE\_READ_\{n}\_PASSWORD | | |
|
||
| DATABASE\_READ_\{n}\_OPTIONS | | |
|
||
| DATABASE\_READ_\{n}\_URL | | |
|
||
| | | |
|
||
| MIGRATE\_ON\_STARTUP | If set to “true” when the Baserow backend service starts up it will automatically apply database migrations. Set to any other value to disable. If you disable this then you must remember to manually apply the database migrations when upgrading Baserow to a new version. | true |
|
||
| BASEROW\_TRIGGER\_SYNC\_TEMPLATES\_AFTER\_MIGRATION | If set to “true” when after a migration Baserow will automatically sync all builtin Baserow templates in the background. If you are using a postgres database which is constrained to fewer than 10000 rows then we recommend you disable this as the Baserow templates will go over that row limit. To disable this set to any other value than “true” | true |
|
||
| BASEROW\_SYNC\_TEMPLATES\_TIME\_LIMIT | The number of seconds before the background sync templates job will timeout if not yet completed. | 1800 |
|
||
| SYNC\_TEMPLATES\_ON\_STARTUP | **Deprecated please use BASEROW\_TRIGGER\_SYNC\_TEMPLATES\_AFTER\_MIGRATION** If provided has the same effect of BASEROW\_TRIGGER\_SYNC\_TEMPLATES\_AFTER\_MIGRATION for backwards compatibility reasons. If BASEROW\_TRIGGER\_SYNC\_TEMPLATES\_AFTER\_MIGRATION is set it will override this value. | true |
|
||
| DONT\_UPDATE\_FORMULAS\_AFTER\_MIGRATION | Baserow’s formulas have an internal version number. When upgrading Baserow if the formula language has also changed then after the database migration has run Baserow will also automatically recalculate all formulas if they have a different version. Set this to any non empty value to disable this automatic update if you would prefer to run the update\_formulas management command manually yourself. Formulas might break if you forget to do so after an upgrade of Baserow until and so it is recommended to leave this empty. | |
|
||
| POSTGRES\_STARTUP\_CHECK\_ATTEMPTS | When Baserow's Backend service starts up it first checks to see if the postgres database is available. It checks 5 times by default, after which if it still has not connected it will crash. | 5 |
|
||
| BASEROW\_PREVENT\_POSTGRESQL\_DATA\_SYNC\_CONNECTION\_TO\_DATABASE | If true, then it's impossible to connect to the Baserow PostgreSQL database using the PostgreSQL data sync. | true |
|
||
| BASEROW\_POSTGRESQL\_DATA\_SYNC\_BLACKLIST | Optionally provide a comma separated list of hostnames that the Baserow PostgreSQL data sync can't connect to. (e.g. "localhost,baserow.io") | |
|
||
| BASEROW\_POSTGRESQL\_DATA\_SYNC\_STATEMENT\_TIMEOUT | The maximum time in seconds that a single SQL statement is allowed to run during a PostgreSQL data sync before it is cancelled. Increase this value for larger installations with slow queries. | 180 |
|
||
| BASEROW\_CONN\_MAX\_AGE | How long (in seconds) a database connection may be reused. Set to 0 to close connections after each request. With WSGI, values > 0 can improve performance. With ASGI, use caution as persistent connections can multiply across async coroutines. Applied to all configured databases (primary and read replicas). | 0 |
|
||
|
||
### Redis Configuration
|
||
| Name | Description | Defaults |
|
||
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||
| REDIS\_HOST | The hostname of the redis database Baserow will use for caching and real time collaboration. | Defaults to redis in the standalone and compose installs. If not provided in the \`baserow/baserow\` install then the embedded Redis will be setup and used. |
|
||
| REDIS\_PORT | The port Baserow will use when trying to connect to the redis database at REDIS\_HOST | 6379 |
|
||
| REDIS\_USER | The username of the redis user Baserow will use to connect to the redis at REDIS\_HOST | |
|
||
| REDIS\_PASSWORD | The password of REDIS\_USER on the redis server at REDIS\_HOST | Required to be set by you in the docker-compose and standalone installs. Automatically generated by the baserow/baserow image if not provided and stored in /baserow/data/.redispass. |
|
||
| REDIS\_PASSWORD\_FILE | **Only supported by the `baserow/baserow` image** If set Baserow will attempt to read the above REDIS\_PASSWORD from this file location instead. | |
|
||
| REDIS\_PROTOCOL | The redis protocol used when connecting to the redis at REDIS\_HOST Can either be ‘redis’ or ‘rediss’. | redis |
|
||
| | | |
|
||
| REDIS\_URL | Alternatively to setting the individual REDIS\_ parameters above instead you can provide one standard redis connection string in the format of: redis://:\[password\]@\[redishost\]:\[redisport\] | |
|
||
|
||
### Celery Configuration
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
||
| BASEROW\_CELERY\_BEAT\_STARTUP\_DELAY | The number of seconds the celery beat worker sleeps before starting up. | 15 |
|
||
| BASEROW\_CELERY\_BEAT\_DEBUG\_LEVEL | The logging level for the celery beat service. | INFO |
|
||
| BASEROW\_AMOUNT\_OF\_WORKERS | The number of concurrent celery worker processes used to process asynchronous tasks. If not set will default to the number of available cores. Each celery process uses memory, to reduce Baserow's memory footprint consider setting and reducing this variable. The export worker also runs AI assistant replies, one per process, so with 1 a reply waits for running exports and replies. Raise it if several people use the assistant at once. | 1 for the All-in-one, Heroku and Cloudron images. Defaults to empty and hence the number of available cores in the standalone images. |
|
||
| BASEROW\_RUN\_MINIMAL | When BASEROW\_AMOUNT\_OF\_WORKERS is 1 and this is set to a non empty value Baserow will not run the export-worker but instead run both the celery export and normal tasks on the normal celery worker. Set this to lower the memory usage of Baserow in expense of performance. AI assistant replies then also run on that worker, so other background tasks, including real-time updates, wait while a reply is generated. | |
|
||
| BASEROW\_MAX\_HEALTHY\_CELERY\_QUEUE\_SIZE | Used as maximum values in the `/api/_health/celery-queue/?queue=celery&queue=export` endpoint. If the number of tasks in the queue exceeds this value, then the health check fails. | 10 |
|
||
|
||
### Webhook Configuration
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- |
|
||
| BASEROW\_WEBHOOKS\_ALLOW\_PRIVATE\_ADDRESS | If set to `true` (or `1`, `yes`, `on`) allows webhooks to access all addresses. Any other value, including `false`, keeps the address checks on. Enabling this flag is a security risk as it will allow users to send webhook requests to internal addresses on your network. Instead consider using the three variables below first to allow access to only some internal network hostnames or IPs. | |
|
||
| BASEROW\_WEBHOOKS\_URL\_REGEX\_BLACKLIST | **Disabled if BASEROW\_WEBHOOKS\_ALLOW\_PRIVATE\_ADDRESS is true.** List of comma seperated regexes used to validate user configured webhook URLs, will show the user an error if any regexes match their webhook URL and prevent it from running. Applied before and so supersedes BASEROW\_WEBHOOKS\_IP\_WHITELIST and BASEROW\_WEBHOOKS\_IP\_BLACKLIST. Do not include any schema like `http://`, `https://` as regexes will only be run against the hostname/IP of the user configured URL. For example set this to `^(?!(www\.)?allowedhost\.com).*` to block all hostnames and IPs other than `allowedhost.com` or `www.allowedhost.com`. | |
|
||
| BASEROW\_WEBHOOKS\_IP\_WHITELIST | **Disabled if BASEROW\_WEBHOOKS\_ALLOW\_PRIVATE\_ADDRESS is true.** List of comma seperated IP addresses or ranges that webhooks will be **allowed** to use after the webhook URL has been resolved to an IP using DNS. Only checked if the URL passes the BASEROW\_WEBHOOKS\_URL\_REGEX\_BLACKLIST. Takes precedence over BASEROW\_WEBHOOKS\_IP\_BLACKLIST meaning that a whitelisted IP will always be let through regardless of the ranges in BASEROW\_WEBHOOKS\_IP\_BLACKLIST. So use BASEROW\_WEBHOOKS\_IP\_WHITELIST to punch holes the ranges in BASEROW\_WEBHOOKS\_IP\_BLACKLIST, and not the other way around. Accepts a string in the format: "127.0.0.1/32,192.168.1.1/32" | |
|
||
| BASEROW\_WEBHOOKS\_IP\_BLACKLIST | **Disabled if BASEROW\_WEBHOOKS\_ALLOW\_PRIVATE\_ADDRESS is true.** List of comma seperated IP addresses or ranges that webhooks will be **denied** from using after the URL has been resolved to an IP using DNS. Only checked if the URL passes the BASEROW\_WEBHOOKS\_URL\_REGEX\_BLACKLIST. BASEROW\_WEBHOOKS\_IP\_WHITELIST supersedes any ranges specified in this variable. Accepts a string in the format: "127.0.0.1/32,192.168.1.1/32" | |
|
||
| BASEROW\_WEBHOOKS\_URL\_CHECK\_TIMEOUT\_SECS | **Disabled if BASEROW\_WEBHOOKS\_ALLOW\_PRIVATE\_ADDRESS is true.** How long to wait before timing out and returning an error when checking if an url can be accessed for a webhook. | 10 seconds |
|
||
| BASEROW\_WEBHOOKS\_MAX\_CONSECUTIVE\_TRIGGER\_FAILURES | The number of consecutive trigger failures that can occur before a webhook is disabled. | 8 |
|
||
| BASEROW\_WEBHOOKS\_MAX\_RETRIES\_PER\_CALL | The max number of retries per webhook call. | 8 |
|
||
| BASEROW\_WEBHOOKS\_MAX\_PER\_TABLE | The max number of webhooks per Baserow table. | 20 |
|
||
| BASEROW\_WEBHOOKS\_MAX\_CALL\_LOG\_ENTRIES | The maximum number of call log entries stored per webhook. | 10 |
|
||
| BASEROW\_WEBHOOKS\_REQUEST\_TIMEOUT\_SECONDS | How long to wait on making the webhook request before timing out. | 5 |
|
||
| BASEROW\_MAX\_WEBHOOK\_CALLS\_IN\_QUEUE\_PER\_WEBHOOK | Maximum number of calls that can be in the webhook's queue. Can be useful to limit when massive numbers of webhooks are triggered due an automation loop. If not set or set to `0`, then there is no limit. | 0 |
|
||
| BASEROW\_WEBHOOKS\_BATCH\_LIMIT | This limit applies to all webhook_event_types that split large payloads into multiple batches. Each batch is a separate request with the same event_id and an incremental batch_id. This parameter sets the maximum number of batches per event. Set to 0 for unlimited batches. | 5 |
|
||
| BASEROW\_WEBHOOK\_ROWS\_ENTER\_VIEW\_BATCH\_SIZE | Defines the number of rows that can be sent in a single webhook call of type `view.rows_entered`. This is used to prevent the webhook call from being too large and potentially causing issues while serializing the data or sending it over the network to the webhook endpoint. | 200 |
|
||
|
||
### Generative AI configuration
|
||
|
||
AI providers and models are configured in Baserow, under **Admin tools → AI providers**
|
||
or a workspace's **Settings → AI providers**. See [AI providers](ai-providers.md).
|
||
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
|
||
| BASEROW\_AI\_FIELD\_MAX\_CONCURRENT\_GENERATIONS | If AI field values are recalculated in a large number (i.e. recalculating whole table, empty rows, or a selection of rows), this controls the number of concurrent requests issued to AI model to generate values. | 5 |
|
||
| BASEROW\_AI\_FIELD\_AUTO\_UPDATE\_DEBOUNCE\_TIME | Debounce time in seconds for AI field updates scheduled from auto-update feature. If AI field has auto-update feature enabled, and many changes occur on fields that are referenced by that AI field, this will delay AI field generation by a number of seconds to accumulate many short updates into one bigger. | 3 |
|
||
| BASEROW\_AGENT\_MAX\_ACTIVE\_RUNS\_PER\_WORKSPACE | The most Agent replies that can be queued or running at once in one workspace. Unset, empty, `0` or less means no limit. With a positive limit, further messages are refused until a reply finishes. | 0 (no limit) |
|
||
| BASEROW\_AGENT\_MAX\_ACTIVE\_RUNS\_PER\_USER | The most Agent replies that can be queued or running at once for one user across all workspaces. Unset, empty, `0` or less means no limit. With a positive limit, further messages are refused until a reply finishes. Plugins can override the limit per user. | 0 (no limit) |
|
||
| BASEROW\_AGENT\_MAX\_ACTIONS\_PER\_AGENT | The most actions one Agent can have. Unset, empty, `0` or less means no limit. With a positive limit, adding or restoring an action over it is refused; actions that an imported or duplicated Agent already has are kept. | 0 (no limit) |
|
||
| BASEROW\_AGENT\_TRIGGER\_RATE\_LIMITS | How often one Agent trigger may start a conversation: a comma-separated list of positive integer pairs formatted as `max_runs,window_seconds`. For example, `10,5,30,300` means 10 conversations per 5 seconds and 30 per 5 minutes. A firing over a limit starts nothing and the trigger shows it was skipped. A single comma disables the limits. | "10,5,30,300,100,3600" |
|
||
| BASEROW\_AGENT\_TRIGGER\_AGENT\_RATE\_LIMITS | How often all triggers of one Agent together may start conversations, in the same `max_runs,window_seconds` format, so adding triggers doesn't raise the limit. A single comma disables the limits. | "20,60,300,3600" |
|
||
| BASEROW\_AGENT\_TRIGGER\_MAX\_QUEUED\_RUNS | The most runs a trigger set to "Wait for the previous run" or "Run in parallel" can have waiting. Further firings start nothing and the trigger shows it was skipped. `0` means no limit: runs wait as long as needed, and the rate limits above still bound how many start. | 10 |
|
||
| BASEROW\_AGENT\_TRIGGER\_MAX\_PARALLEL\_RUNS | The most runs a trigger set to "Run in parallel" can have going at once, waiting for approvals included. Further firings wait, up to the queue limit above. `0` means no limit: the rate limits and `BASEROW_AGENT_MAX_ACTIVE_RUNS_PER_WORKSPACE` still bound how many run. | 5 |
|
||
| BASEROW\_AGENT\_TRIGGER\_MAX\_BATCHES\_PER\_EVENT | The most conversations one event may start for an Agent trigger whose data is a list, such as rows created at once. Each conversation receives up to the trigger's "Rows per conversation" (20 by default), so the default lets one change reach 200 rows. Further rows start nothing and the trigger shows it. Values below `1` count as `1`. | 10 |
|
||
|
||
#### Deprecated AI provider variables
|
||
|
||
**Baserow 2.4 no longer reads these variables.** The upgrade imports them once into
|
||
**Admin tools → AI providers**; change these settings there instead. See
|
||
[Upgrading to Baserow 2.4](https://baserow.io/docs/installation%2Fai-providers#upgrading-to-baserow-24)
|
||
for the exceptions.
|
||
|
||
| Name | Used to set | Now set in Admin tools → AI providers as |
|
||
| --------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------------- |
|
||
| BASEROW\_OPENAI\_API\_KEY | The OpenAI API key. | OpenAI **API key** |
|
||
| BASEROW\_OPENAI\_ORGANIZATION | The OpenAI organization. | OpenAI **Organization** |
|
||
| BASEROW\_OPENAI\_MODELS | Comma-separated OpenAI model identifiers. | OpenAI **Models** |
|
||
| BASEROW\_OPENAI\_BASE\_URL | An OpenAI-compatible endpoint, such as Azure OpenAI or a self-hosted gateway. | OpenAI **Base URL** |
|
||
| BASEROW\_OPENROUTER\_API\_KEY | The OpenRouter API key. | OpenRouter **API key** |
|
||
| BASEROW\_OPENROUTER\_ORGANIZATION | The OpenRouter organization. | OpenRouter **Organization** |
|
||
| BASEROW\_OPENROUTER\_MODELS | Comma-separated OpenRouter model identifiers. | OpenRouter **Models** |
|
||
| BASEROW\_ANTHROPIC\_API\_KEY | The Anthropic API key. | Anthropic **API key** |
|
||
| BASEROW\_ANTHROPIC\_MODELS | Comma-separated Anthropic model identifiers. | Anthropic **Models** |
|
||
| BASEROW\_MISTRAL\_API\_KEY | The Mistral API key. | Mistral **API key** |
|
||
| BASEROW\_MISTRAL\_MODELS | Comma-separated Mistral model identifiers. | Mistral **Models** |
|
||
| BASEROW\_OLLAMA\_HOST | The Ollama server host. | Ollama **Host** |
|
||
| BASEROW\_OLLAMA\_MODELS | Comma-separated Ollama model identifiers. | Ollama **Models** |
|
||
|
||
Kuma's `BASEROW_ENTERPRISE_ASSISTANT_LLM_MODEL` is not imported and keeps working
|
||
until you make a model available to Kuma and select it under **AI features**; see the
|
||
[AI assistant guide](ai-assistant.md).
|
||
|
||
### Backend Misc Configuration
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |------------------------|
|
||
| BASEROW\_ENABLE\_SECURE\_PROXY\_SSL\_HEADER | Set to any non-empty value to ensure Baserow generates https:// next links provided by paginated API endpoints. Baserow will still work correctly if not enabled, this is purely for giving the correct https url for clients of the API. If you have setup Baserow to use Caddy's auto HTTPS or you have put Baserow behind<br>a reverse proxy which:<br>* Handles HTTPS<br>* Strips the X-Forwarded-Proto header from all incoming requests.<br>* Sets the X-Forwarded-Proto header and sends it to Baserow.<br>Then you can safely set BASEROW\_ENABLE\_SECURE\_PROXY\_SSL\_HEADER=yes to ensure Baserow<br>generates https links for pagination correctly.<br> | |
|
||
| ADDITIONAL\_APPS | A comma separated list of additional django applications to add to the INSTALLED\_APPS django setting | |
|
||
| HOURS\_UNTIL\_TRASH\_PERMANENTLY\_DELETED | Items from the trash will be permanently deleted after this number of hours. | |
|
||
| DISABLE\_ANONYMOUS\_PUBLIC\_VIEW\_WS\_CONNECTIONS | When sharing views publicly a websocket connection is opened to provide realtime updates to viewers of the public link. To disable this set any non empty value. When disabled publicly shared links will need to be refreshed to see any updates to the view. | |
|
||
| BASEROW\_PRESENCE\_VISIBLE\_USERS | Controls realtime user presence in the grid header. The value sets how many user badges are shown before an overflow counter appears; set to 0 to disable presence entirely (no data is tracked or broadcast). Should be set on both the backend and web-frontend services. | 3 |
|
||
| BASEROW\_MCP\_OAUTH\_ENABLED | Set to `true` to let MCP clients sign in with OAuth at `<backend URL>/mcp`. Defaults to `false`. See [MCP OAuth sign-in](mcp-oauth.md) for the URL, routing and network requirements. | false |
|
||
| BASEROW\_MCP\_OAUTH\_CIMD\_ENABLED | Set to `false` so MCP clients can't sign in with OAuth using a client metadata document (CIMD), which stops the backend from fetching those documents. | true |
|
||
| BASEROW\_MCP\_OAUTH\_CIMD\_ALLOWED\_HOSTS | Comma-separated hosts that may serve client metadata documents (CIMD) for MCP clients signing in with OAuth, in Django `ALLOWED_HOSTS` syntax (`.example.com` matches subdomains). Only applies to CIMD clients: to limit sign-in to these hosts, also set `BASEROW_MCP_OAUTH_DCR_ENABLED=false`. Defaults to `*`, any public host, also when empty. | * |
|
||
| BASEROW\_MCP\_OAUTH\_TOKEN\_RATE\_LIMITS | Rate limits per client IP for the MCP OAuth token endpoint, as `calls/period` separated by commas. Only failed calls count. Token revocation has its own limit with the same values. The IP is the first `X-Forwarded-For` entry, see [MCP OAuth sign-in](mcp-oauth.md). Defaults to `30/m,300/h`. | 30/m,300/h |
|
||
| BASEROW\_MCP\_OAUTH\_AUTHORIZE\_RATE\_LIMITS | Rate limits per client IP for the MCP OAuth authorization endpoint, as `calls/period` separated by commas. The IP is the first `X-Forwarded-For` entry, see [MCP OAuth sign-in](mcp-oauth.md). Defaults to `30/m,300/h`. | 30/m,300/h |
|
||
| BASEROW\_MCP\_OAUTH\_DCR\_ENABLED | Set to `false` to stop MCP clients without a client metadata document (for example Cursor) from registering themselves. Defaults to `true`. | true |
|
||
| BASEROW\_MCP\_OAUTH\_REGISTRATION\_RATE\_LIMITS | Rate limits per client IP for MCP OAuth client registration, as `calls/period` separated by commas. Defaults to `10/m,60/h`. | 10/m,60/h |
|
||
| BASEROW\_MCP\_OPENAI\_APPS\_CHALLENGE | The domain verification token OpenAI shows when you submit Baserow as a ChatGPT app. The backend serves it as plain text at `/.well-known/openai-apps-challenge` when MCP OAuth is enabled, and returns a 404 when it's empty. | |
|
||
| BASEROW\_WAIT\_INSTEAD\_OF\_409\_CONFLICT\_ERROR | When updating or creating various resources in Baserow if another concurrent operation is ongoing (like a snapshot, duplication, import etc) which would be affected by your modification a 409 HTTP error will be returned. If you instead would prefer Baserow to not return a 409 and just block waiting until the operation finishes and then to perform the requested operation set this flag to any non-empty value. | |
|
||
| BASEROW\_JOB\_CLEANUP\_INTERVAL\_MINUTES | How often the job cleanup task will run. | 5 |
|
||
| BASEROW\_JOB\_EXPIRATION\_TIME\_LIMIT | How long before a Baserow job will be kept before being cleaned up. | 30 * 24 * 60 (24 days) |
|
||
| BASEROW\_JOB\_SOFT\_TIME\_LIMIT | The number of seconds a Baserow job can run before being terminated. | 1800 |
|
||
| BASEROW\_MAX\_FILE\_IMPORT\_ERROR\_COUNT | The max number of per row errors than can occur in a file import before an overall failure is declared | 30 |
|
||
| MINUTES\_UNTIL\_ACTION\_CLEANED\_UP | How long before actions are cleaned up, actions are used to let you undo/redo so this is effectively the max length of time you can undo/redo can action. | 120 |
|
||
| BASEROW\_DISABLE\_MODEL\_CACHE | When set to any non empty value the model cache used to speed up Baserow will be disabled. Useful to enable when debugging Baserow errors if they are possibly caused by the model cache itself. | | |
|
||
| | | |
|
||
| DJANGO\_SETTINGS\_MODULE | **INTERNAL** The settings python module to load when starting up the Backend django server. You shouldn’t need to set this yourself unless you are customizing the settings manually. | |
|
||
| | | |
|
||
| BASEROW\_BACKEND\_BIND\_ADDRESS | **INTERNAL** The address that Baserow’s backend service will bind to. | |
|
||
| BASEROW\_BACKEND\_PORT | **INTERNAL** Controls which port the Baserow backend service binds to. | |
|
||
| BASEROW\_WEBFRONTEND\_BIND\_ADDRESS | **INTERNAL** The address that Baserow’s web-frontend service will bind to. | |
|
||
| BASEROW\_INITIAL\_CREATE\_SYNC\_TABLE\_DATA\_LIMIT | The maximum number of rows you can import in a synchronous way | 5000 |
|
||
| BASEROW\_MAX\_ROW\_REPORT\_ERROR\_COUNT | The maximum row error count tolerated before a file import fails. Before this max error count the import will continue and the non failing rows will be imported and after it, no rows are imported at all. | 30 |
|
||
| BASEROW\_ROW\_HISTORY\_CLEANUP\_INTERVAL\_MINUTES | Sets the interval for periodic clean up check of the row edit history in minutes. | 30 |
|
||
| BASEROW\_LAST\_VIEWED\_DEBOUNCE\_SECONDS | Delay in seconds between a user opening a view, page, dashboard or workflow and the moment its last viewed timestamp is written, so bursts of requests result in a single write. | 2 |
|
||
| BASEROW\_LAST\_VIEWED\_UPDATE\_INTERVAL\_SECONDS | Minimum age in seconds of a stored last viewed timestamp before it is refreshed again. | 60 |
|
||
| BASEROW\_LAST\_VIEWED\_CLEANUP\_INTERVAL\_MINUTES | Sets the interval for the periodic clean up of last viewed entries that refer to deleted items in minutes. | 1440 |
|
||
| BASEROW\_ROW\_HISTORY\_RETENTION\_DAYS | The number of days that the row edit history will be kept. | 180 |
|
||
| BASEROW\_ICAL\_VIEW\_MAX\_EVENTS | The maximum number of events returned from ical feed endpoint. Empty value means no limit. | |
|
||
| BASEROW\_ENTERPRISE\_AUDIT\_LOG\_CLEANUP\_INTERVAL_MINUTES | Sets the interval for periodic clean up check of the enterprise audit log in minutes. | 30 |
|
||
| BASEROW\_ENTERPRISE\_AUDIT\_LOG\_RETENTION\_DAYS | The number of days that the enterprise audit log will be kept. | 365 |
|
||
| BASEROW\_ENTERPRISE\_PERIODIC\_DATA_SYNC\_CHECK\_INTERVAL\_MINUTES | The number of minutes that an async task is run to check if there are periodic data syncs that must run. It's safe to run this task frequently because it works in a non blocking way. | 1 |
|
||
| BASEROW\_ENTERPRISE\_MAX\_PERIODIC\_DATA\_SYNC\_CONSECUTIVE\_ERRORS | The maximum number of consecutive periodic data sync error before it's disabled. | 4 |
|
||
| BASEROW\_DEADLOCK\_INITIAL\_BACKOFF | The initial backoff time for database deadlock retries. | 2 |
|
||
| BASEROW\_DEADLOCK\_MAX\_RETRIES | The maximum number of database deadlock retries. | 1 |
|
||
| BASEROW\_REALTIME\_REPLAY\_MAX\_EVENTS | Maximum number of missed events replayed to a reconnecting WebSocket client. When the count exceeds this limit, the client is asked to refresh instead of receiving individual events. Set to `0` to disable event recording and replay. Full events are replayable for the configured retention window, independently of JWT lifetime. Expired events become routing summaries without business payloads; relevant missed expired history requires a refresh. Cleanup continues when recording is disabled. | 200 |
|
||
| BASEROW\_REALTIME\_REPLAY\_RETENTION\_HOURS | Maximum age in hours of full realtime events available to replay after a WebSocket reconnect. Must be a positive integer. Increasing this window retains more full payloads and requires more database storage, but cannot restore events already compacted. Independent of JWT lifetime. | 24 |
|
||
| BASEROW\_REALTIME\_COMPRESSION\_ENABLED | Set to `true` to compress large realtime messages before they are written to Redis, which reduces Redis memory, persistence and replication load. Only enable this once every backend, Celery and ASGI process runs a Baserow version that supports it, because older versions can't read compressed messages. | false |
|
||
| BASEROW\_DEPENDANT\_ROWS\_REALTIME\_UPDATE\_LIMIT | Per table, the maximum number of rows changed by a dependency cascade (formulas, lookups, link row display values in other tables) that are broadcast as exact realtime row updates. Above the limit, subscribers of the affected table receive a whole-table refresh event instead. Set to `0` to disable realtime events for dependant rows entirely. Higher values increase the background serialization work and websocket traffic per edit. | 200 |
|
||
| BASEROW\_PERIODIC\_FIELD\_UPDATE\_BATCH\_COUNT | The number of parallel tasks the periodic field update (e.g. `now()` formulas) is split into each cycle. Raise it to spread the work across more workers when a single task can't refresh every workspace before the next cycle starts. If cycles are still being skipped, also give each cycle more time with `BASEROW_PERIODIC_FIELD_UPDATE_CRONTAB`. | 1 |
|
||
|
||
### AI-assistant Configuration
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
|
||
| BASEROW\_ENTERPRISE\_ASSISTANT\_LLM\_MODEL | **Deprecated.** The AI-assistant uses this model until you select one under **AI features** in AI providers. Provide in pydantic-ai format like `groq:openai/gpt-oss-120b` or `bedrock:openai.gpt-oss-120b-1:0`. Note that additional API keys must be provided as environment variable depending on the provider. Instructions can be found at https://baserow.io/docs/installation/ai-assistant | "" (empty string) |
|
||
| AWS\_BEARER\_TOKEN\_BEDROCK | If the BASEROW\_ENTERPRISE\_ASSISTANT\_LLM\_MODEL uses a bedrock provider, then this environment variable must be set. Instructions on how to obtain: https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys-use.html | "" (empty string) |
|
||
| AWS\_REGION\_NAME | If the BASEROW\_ENTERPRISE\_ASSISTANT\_LLM\_MODEL uses a bedrock provider, then the AWS region for the AI-assistant can be provided here. | us-east-1 |
|
||
| GROQ\_API\_KEY | If the BASEROW\_ENTERPRISE\_ASSISTANT\_LLM\_MODEL uses a groq provider (e.g. `groq:openai/gpt-oss-120b`), then the Groq API key must be provided here. | "" (empty string) |
|
||
| GOOGLE\_API\_KEY | If the BASEROW\_ENTERPRISE\_ASSISTANT\_LLM\_MODEL uses a google provider (e.g. `google:gemini-3.6-flash`), then the Google AI Studio API key must be provided here. Also read by the `google-cloud` provider as a Vertex AI Express Mode key. | "" (empty string) |
|
||
| OLLAMA\_API\_KEY | If the BASEROW\_ENTERPRISE\_ASSISTANT\_LLM\_MODEL uses an ollama provider (e.g. `ollama:gpt-oss:120b`), then the Ollama API key can be provided here. | "" (empty string) |
|
||
| UDSPY\_LM\_OPENAI\_COMPATIBLE\_BASE\_URL | If the BASEROW\_ENTERPRISE\_ASSISTANT\_LLM\_MODEL uses an openai provider (e.g. `openai:gpt-5-nano`), then the base URL can be changed here. This can be used to point to a different OpenAI compatible API like Azure, for example. | "" (empty string) |
|
||
|
||
### Embeddings configuration
|
||
| Name | Description | Defaults |
|
||
| ---- | ----------- | -------- |
|
||
| BASEROW\_EMBEDDINGS\_API\_URL | If not empty, the AI-assistant knowledge base and semantic search use this embeddings server. Must point to a container running this image: https://hub.docker.com/r/baserow/embeddings | "" (empty string) |
|
||
| BASEROW\_EMBEDDINGS\_TEXTS\_PER\_REQUEST | The number of texts sent to the embeddings server per request, at most 256. Increase it for an embeddings server on a GPU, like the `-gpu` image. | 8 |
|
||
|
||
### Semantic search configuration
|
||
| Name | Description | Defaults |
|
||
| ---- | ----------- | -------- |
|
||
| BASEROW\_SEMANTIC\_SEARCH\_CHUNK\_SIZE | The maximum number of characters of a part of a cell value that's searched by semantic search. Requires `BASEROW_EMBEDDINGS_API_URL` and pgvector. | 1000 |
|
||
| BASEROW\_SEMANTIC\_SEARCH\_CHUNK\_OVERLAP | The number of characters consecutive parts of a cell value overlap, so that text on a boundary remains findable. | 150 |
|
||
| BASEROW\_SEMANTIC\_SEARCH\_MAX\_CHUNKS\_PER\_CELL | The maximum number of parts of a cell value that are searchable. Text beyond this isn't found by semantic search. | 30 |
|
||
| BASEROW\_SEMANTIC\_SEARCH\_TASK\_TIME\_BUDGET\_SECONDS | How long a background task updates the semantic search index of a table before it continues in a new task. | 240 |
|
||
| BASEROW\_SEMANTIC\_SEARCH\_MAX\_RESULTS | The maximum number of results a semantic search action or data source can return. | 100 |
|
||
|
||
### Data sync configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------- |
|
||
| BASEROW\_TWO\_WAY\_SYNC\_MAX\_CONSECUTIVE\_FAILURES | Indicates the maximum number of consecutive two-way data sync updates before deactivating the two-way sync. | 8 |
|
||
| BASEROW\_TWO\_WAY\_SYNC\_MAX_RETRIES | Indicates the maximum of or two-way data sync create, update, or delete row retries before considering it a failure. | 3 |
|
||
| BASEROW\_DATA\_SYNC\_ALLOW\_PRIVATE\_ADDRESS | If set to `false`, data syncs that fetch from a user configured URL (such as a self-hosted GitLab, Jira instance, or an iCal feed) are blocked from reaching private/internal network addresses and ports other than 80, 443, 8000, 8080 and 8443 (SSRF protection). Defaults to `true` for backwards compatibility; setting it to `false` is recommended when your data sources are hosted on public addresses and standard ports. | true |
|
||
|
||
### Automation workflow configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- |
|
||
| BASEROW\_AUTOMATION\_HISTORY\_PAGE\_SIZE\_LIMIT | The maximum number of automation history entries returned per page. | 100 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_RESPONSE\_TIMEOUT\_MAX\_SECONDS | The maximum response timeout, in seconds, that can be configured for manual and HTTP-triggered workflows. | 20 |
|
||
| BASEROW\_AUTOMATION\_WAIT\_MAX\_SECONDS | The longest pause, in seconds, a single automation Wait node may be configured for. A longer wait fails the node instead of being shortened. The waits of one run still count towards BASEROW\_AUTOMATION\_WORKFLOW\_TIMEOUT\_HOURS. | 21600 |
|
||
| BASEROW\_AUTOMATION\_HTTP\_TRIGGER\_MAX\_BODY\_SIZE\_BYTES | The largest request body, in bytes, accepted by an automation HTTP trigger. Larger requests are refused with a 413. | 1048576 |
|
||
| BASEROW\_AUTOMATION\_HTTP\_TRIGGER\_RATE\_LIMITS | A comma-separated list of rate limits (`calls/period`, period `s`, `m` or `h`) applied to each automation HTTP trigger. Requests over a limit are refused with a 429. A single comma disables the limits. | "300/m,6000/h" |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_RATE\_LIMIT\_MAX\_RUNS | The maximum number of workflow runs that can be started within the rate limit window before new runs are blocked. | 10 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_RATE\_LIMITS | A comma-separated list of integer pairs formatted as `max_runs,window_seconds`. For example, `10,5,20,60` means 10 executions per 5 seconds and 20 executions per 60 seconds. | "10,5,30,300,100,3600" |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_RATE\_LIMIT\_CACHE\_EXPIRY\_SECONDS | The number of seconds the workflow rate limit counters are retained in cache. | 5 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_HISTORY\_RATE\_LIMIT\_CACHE\_EXPIRY\_SECONDS | The number of seconds the workflow history rate limit counters are retained in cache. If unset, it uses the workflow rate limit cache expiry. | 5 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_ERROR\_LIMITS | A comma-separated list of integer pairs formatted as `max_errors,window_seconds`. For example, `5,30,10,300` means more than 5 errors in 30 seconds or more than 10 errors in 300 seconds disables the workflow. | '20,300' |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_MAX\_CONSECUTIVE\_ERRORS | The maximum number of consecutive workflow errors allowed before the workflow is disabled. | 5 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_TIMEOUT\_HOURS | The number of hours after which a running workflow is considered timed out. | 24 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_HISTORY\_MAX\_DAYS | The number of days automation workflow history entries are retained. | 30 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_HISTORY\_MAX\_ENTRIES | The maximum number of workflow history entries retained per workflow. | 200 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_HISTORY\_MIN\_RETENTION\_DAYS | History entries newer than this many days are never deleted for going over BASEROW\_AUTOMATION\_WORKFLOW\_HISTORY\_MAX\_ENTRIES, so recent history stays available when a workflow runs excessively. BASEROW\_AUTOMATION\_WORKFLOW\_HISTORY\_MAX\_DAYS still applies. | 2 |
|
||
| BASEROW\_AUTOMATION\_WORKFLOW\_HISTORY\_CLEANUP\_INTERVAL\_MINUTES | How often, in minutes, the automation cleanup task runs. It deletes history entries beyond the history limits and marks runs that have gone past BASEROW\_AUTOMATION\_WORKFLOW\_TIMEOUT\_HOURS as failed. | 60 |
|
||
| BASEROW\_AUTOMATION\_RUN\_STALL\_TIMEOUT\_MINUTES | A started automation run that has not started or completed a node for this many minutes is marked as interrupted (`error`, or `cancelled` when a cancellation was requested). A run paused by a Wait node is not counted as stalled until its resume is well overdue. Keep it above the broker visibility timeout (one hour with Redis), after which a task held by a killed worker is redelivered. | 75 |
|
||
| BASEROW\_AUTOMATION\_RUN\_STALL\_WARNING\_MINUTES | Started automation runs that have not progressed for this many minutes are counted in a warning log, which helps tell a backed-up `automation_workflow` queue apart from a lost task. Runs are never failed at this threshold. | 5 |
|
||
| BASEROW\_AUTOMATION\_RUN\_STALL\_SWEEP\_INTERVAL\_MINUTES | How often, in minutes, the automation stall check runs. | 5 |
|
||
| BASEROW\_INTEGRATIONS\_PERIODIC\_MINUTE\_MIN | The smallest number of minutes that can be configured between runs of a periodic trigger set to run every few minutes. | 1 |
|
||
| BASEROW\_AUTOMATION\_MAX\_NODE\_DISPATCHES\_PER\_RUN | The maximum number of node dispatches allowed in a single workflow run. This protects against infinite dispatches caused by a misconfigured node. | 1000 |
|
||
|
||
### Code runner Configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_DEFAULT\_TYPE | The default enterprise code runner type used to execute custom code services. Set to an empty value to disable enterprise code runner registration. | wasmtime_quickjs |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_WASMTIME\_EXECUTABLE | The wasmtime executable used by the `wasmtime_quickjs` code runner. | wasmtime |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_QUICKJS\_WASM\_PATH | The path to the QuickJS WASM runtime used by the `wasmtime_quickjs` code runner. | /usr/local/lib/baserow/qjs.wasm |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_TIMEOUT\_SECONDS | The maximum number of seconds a code runner process can execute before it times out. | 5 |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_MEMORY\_LIMIT\_BYTES | The maximum memory size in bytes available to a code runner process. | 16777216 |
|
||
| BASEROW\_ENTERPRISE\_CODE\_RUNNER\_FUEL\_LIMIT | The wasmtime fuel limit used to cap code runner instruction execution. Set to 0 to disable the fuel limit. | 1000000000 |
|
||
|
||
### Database button field configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
|
||
| BASEROW\_DATABASE\_BUTTON\_DISPATCH\_LOCK\_TTL\_SECONDS | How long a button field click holds its lock, so a second click on the same button and row is refused while the first is still running. It is a floor: a click whose actions may wait longer than this takes a lock sized to what they are allowed to wait for. Raise it if a button's actions can legitimately run for longer for some other reason. | 120 |
|
||
| BASEROW\_DATABASE\_BUTTON\_SAMPLE\_DATA\_MAX\_BYTES | The most a click may remember of an answer from outside Baserow, in bytes. The editor keeps it so it can describe that answer to the actions after it. A bigger answer still reaches the person who clicked; only the editor's copy is dropped. | 65536 |
|
||
| BASEROW\_DATABASE\_BUTTON\_DISPATCH\_USER\_RATE\_LIMITS | How often one user may click buttons that reach outside Baserow, as a comma separated list of rate limits, for example `30/m,300/h`. Staff are exempt. Leaving the variable empty keeps the default; a single comma switches the limit off. | 30/m,300/h |
|
||
| BASEROW\_DATABASE\_BUTTON\_DISPATCH\_WORKSPACE\_RATE\_LIMITS | How often one workspace's buttons may reach outside Baserow, in the same format. Every member shares this budget, staff included, so one workspace cannot drown the rest. Leaving the variable empty keeps the default; a single comma switches the limit off. | 120/m,1200/h |
|
||
|
||
### Dashboard configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| ---- | ----------- | -------- |
|
||
| BASEROW\_PREMIUM\_GROUPED\_AGGREGATE\_SERVICE\_MAX\_SERIES | The maximum number of series a grouped aggregate data source can have. Applies to dashboard chart and pie chart widgets, and to Application Builder grouped aggregate data sources. | 3 |
|
||
| BASEROW\_PREMIUM\_GROUPED\_AGGREGATE\_SERVICE\_MAX\_AGG\_BUCKETS | The maximum number of groups a grouped aggregate data source returns. When there are more, the remaining groups are combined into a single "other" group. Applies to dashboard chart and pie chart widgets, and to Application Builder grouped aggregate data sources. Must be 1 or greater. | 10 |
|
||
|
||
### Backend Application Builder Configuration
|
||
| Name | Description | Defaults |
|
||
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
|
||
| BASEROW\_BUILDER\_DOMAINS | A comma separated list of domain names that can be used as the domains to create sub domains in the application builder. | |
|
||
| BASEROW\_BUILDER\_PREVIEW\_URL | The public frontend URL used when opening draft Application Builder previews. Set this to a separate hostname from `PUBLIC_WEB_FRONTEND_URL` to let code written by an application's editors run in previews: custom JavaScript, head HTML, scripts in HTML elements and unsandboxed IFrame embeds. A different port on the same hostname is not enough, because browsers share cookies across ports. While previews share the editor's hostname that code is restricted there, so it can't act as the user who opens the preview, and the preview says so. | `PUBLIC_WEB_FRONTEND_URL` |
|
||
| BASEROW\_BUILDER\_DANGEROUS\_RELAX\_PREVIEW\_SECURITY | If set to `true`, code written by an application's editors also runs when an application is opened on the editor's hostname: in previews that share that hostname, and in published applications opened through it. This is a security risk: anyone who can edit an application can then run JavaScript as any user who opens it there, including administrators, and take over their account. Prefer giving previews their own hostname with BASEROW\_BUILDER\_PREVIEW\_URL. This also allows author code in the editor itself. | false |
|
||
| BASEROW\_BUILDER\_PREVIEW\_GRANT\_TTL\_SECONDS | The number of seconds a draft Application Builder preview grant and its exchanged preview cookie remain valid. | 1800 |
|
||
| BASEROW\_BUILDER\_PUBLICLY\_USED\_PROPERTIES\_CACHE\_TTL\_SECONDS | How long, in seconds, a published application caches which data source fields its pages use, so that only those fields are sent to visitors. Publishing the application again starts with a fresh cache. | 7200 |
|
||
| BASEROW\_BUILDER\_DISPATCH\_ACTION\_CACHE\_TTL\_SECONDS | How long, in seconds, the result of an Application Builder workflow action is kept so that the actions after it in the same event can use it. | 300 |
|
||
|
||
### Misc Configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------- |
|
||
| SENTRY\_DSN | If provided, will instantiate Sentry SDK for error monitoring for both Frontend and Backend. | "" (empty string) |
|
||
| SENTRY\_BACKEND\_DSN | If provided, will instantiate Sentry SDK for the backend with this DSN. It will override SENTRY\_DSN | "" (empty string) |
|
||
| SENTRY\_TRACES\_SAMPLE\_RATE | The sample rate for Sentry performance tracing (transactions), shared by the backend and frontend. A float between 0 and 1, where 0 disables tracing and 1 traces every transaction. | 0.01 |
|
||
| SENTRY\_REPLAYS\_ON\_ERROR\_SAMPLE\_RATE | The frontend sample rate for saving a Sentry session replay when an error occurs. A float between 0 and 1, where 0 disables error replays and 1 saves a replay for every error. | 0.1 |
|
||
| SENTRY\_MONITOR\_BEAT\_TASKS | Automatically create Sentry cron monitors for the celery beat periodic tasks, so missed or failed runs are reported. Only used when Sentry is enabled for the backend. Note that every periodic task gets its own cron monitor, which can count towards your Sentry quota. | true |
|
||
| SENTRY\_EXCLUDE\_BEAT\_TASKS | Comma separated list of regexes matched against the beat schedule entry names to exclude them from the cron monitors. Baserow's periodic tasks are unnamed beat entries, so their entry names end with `()`, e.g. `baserow.core.usage.tasks.run_calculate_storage()`. Use a pattern like `baserow\.core\.usage\.tasks\.run_calculate_storage.*`. | "" (empty string) |
|
||
| BASEROW\_OSS\_ONLY | If not empty, it will only start the MIT licensed open source version, without premium and enterprise. | "" (empty string) |
|
||
| BASEROW\_INTEGRATIONS\_ALLOW\_PRIVATE\_ADDRESS | If set to `true` (or `1`, `yes`, `on`) turns off the address checks on outgoing HTTP requests. Any other value, including `false`, keeps them on. Without it, a URL that resolves to a private, loopback or other internal address, or that uses a port other than 80, 443, 8000, 8080 or 8443, is refused with "Invalid URL". Applies to the HTTP request service in the Application Builder, automations and button fields, to agent HTTP actions and to MCP servers. It also lets a button field's Send email action use an SMTP server on a private address. Enabling it is a security risk: anyone who can edit an HTTP request can send requests to any address and port your server can reach. There is no allowlist; it allows all of them or none. An agent HTTP action whose host the AI model picks keeps the checks on whatever this is set to: it only reaches public IPv4 addresses on ports 80, 443, 8000, 8080 or 8443, and never through an outbound proxy (`HTTP_PROXY`/`HTTPS_PROXY`), so on an installation that needs a proxy to reach the internet such an action can't be sent. An action whose host the builder typed follows this setting. Not to be confused with BASEROW\_WEBHOOKS\_ALLOW\_PRIVATE\_ADDRESS, which only applies to database webhooks. | "" (empty string) |
|
||
| BASEROW\_INTEGRATIONS\_HTTP\_MAX\_RESPONSE\_BYTES | The most an HTTP request service will read of an answer, in bytes. It is read while the body arrives, so an endpoint cannot decide how much memory a worker spends, and a small compressed answer that unpacks into a huge one is stopped too. Used by the Application Builder, automations and button fields. Set it to 0 to read the answer whole, with only the timeout bounding it. | 33554432 |
|
||
| BASEROW\_INTEGRATIONS\_SLACK\_API\_URL | Where the Slack service posts its messages. Used by the Application Builder, automations and button fields. Only an environment that cannot reach slack.com, such as the end-to-end test stack, points it at a stub of its own. | https://slack.com/api |
|
||
| BASEROW\_INTEGRATION\_ALLOW\_SMTP\_SERVICE\_TO\_USE\_INSTANCE\_SETTINGS | Whether a service may send email through this installation's own SMTP settings instead of an SMTP integration. Set it to false and the Application Builder and automations keep the integration option only, while a button field's Send email action is turned off altogether: a database action carries no integration, so the instance server is the only thing it can send through. The action also needs a mail server to send through, so it stays off while EMAIL\_HOST is empty or the email backend does not deliver. | true |
|
||
|
||
### User file upload Configuration
|
||
|
||
Baserow needs somewhere to store the following types of files:
|
||
* Files uploaded by users in Baserow Table's using the File Field type
|
||
* User triggered exports of tables and views
|
||
|
||
#### Filesystem Default
|
||
|
||
By default, Baserow will store these files on the file system at the location set by
|
||
the MEDIA_ROOT environment variable, which is `/baserow/media` in our `baserow/backend`
|
||
image or `$DATA_DIR/media` for the `baserow/baserow` all-in-one image.
|
||
|
||
> Warning: If Baserow is storing user files on the file system and MEDIA_ROOT is not part
|
||
> of a persistent volume, then all uploaded user files will be lost if
|
||
> you remove the container. Our default docker commands and docker compose
|
||
> files ensure this location will be mounted to a persistent docker volume for you if
|
||
> you are using them.
|
||
>
|
||
#### Serving User Files when stored on the file system
|
||
|
||
Any uploaded files need to be served back to the user when they visit Baserow in the
|
||
browser. Our `baserow/baserow` image and some of our `docker-compose.yml` templates
|
||
come with a [Caddy](https://caddy.io) reverse proxy which is configured to serve
|
||
back any user uploaded files which are stored in the data/media volume.
|
||
|
||
If you do not wish to use our default Caddy see the following guides on configuring
|
||
an Apache, NGinx or Traefik to serve user files for you:
|
||
* [Apache](./install-behind-apache.md)
|
||
* [Nginx](./install-behind-nginx.md)
|
||
* [Traefik](./install-with-traefik.md)
|
||
|
||
|
||
#### File Service alternatives
|
||
|
||
You can alternatively configure Baserow to store files by uploading them to an external service.
|
||
This is highly recommended if you wish to horizontally scale Baserow or deploy it in
|
||
a distributed manner.
|
||
|
||
We support the following types of file storage service. Follow each link to documentation showing
|
||
all available UPPER_CASE settings that you can set as environment variables to set up the
|
||
desired provider.
|
||
|
||
* [AWS S3, or any S3 compatible service such as Backblaze or Digital Ocean spaces](https://django-storages.readthedocs.io/en/1.13.2/backends/amazon-S3.html#settings)
|
||
* When using AWS S3 we recommend you set the `DOWNLOAD_FILE_VIA_XHR=1` environment variable.
|
||
* [Google Cloud Storage](https://django-storages.readthedocs.io/en/1.13.2/backends/gcloud.html#settings)
|
||
* [Azure Cloud Storage](https://django-storages.readthedocs.io/en/1.13.2/backends/azure.html#settings)
|
||
|
||
Our default docker compose files do not by default include all available user file environment
|
||
variables to reduce their size. When using these docker compose files make sure that any
|
||
`AWS_`, `GS_` or `AZURE_` env vars you wish to use have been added to the
|
||
`x-backend-variables` section.
|
||
|
||
Each Baserow installation needs its own bucket or container, or its own location in it
|
||
(`AWS_LOCATION`, `GS_LOCATION` or `AZURE_LOCATION`). This includes a staging copy made
|
||
from a production database: Baserow deletes template files by name, so two installations
|
||
sharing the same location can delete each other's files.
|
||
|
||
#### CORS Issues
|
||
|
||
When using a 3rd party file storage service which is serving files from another
|
||
domain than your Baserow, you need to make sure CORS is configured correctly.
|
||
|
||
#### User File Variables Table
|
||
|
||
| Name | Description | Defaults |
|
||
| -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
||
| MEDIA\_URL | The URL at which user uploaded media files will be made available. Set this to a different origin, for example `https://media.baserow.example.com/media/`, to serve user uploads from an isolated media domain. | $PUBLIC\_BACKEND\_URL/media/ |
|
||
| MEDIA\_ROOT | **INTERNAL** The folder in which the backend will store user uploaded files | /baserow/media or $DATA_DIR/media for the `baserow/baserow` all-in-one image |
|
||
| **<br>** | | |
|
||
| AWS\_ACCESS\_KEY\_ID | The access key for your AWS account. When set to anything other than empty will switch Baserow to use a S3 compatible bucket for storing user file uploads. | |
|
||
| AWS\_SECRET\_ACCESS\_KEY | The access secret key for your AWS account. | |
|
||
| AWS\_SECRET\_ACCESS\_KEY\_FILE\_PATH | **Optional** The path to a file containing access secret key for your AWS account. | |
|
||
| AWS\_STORAGE\_BUCKET\_NAME | Your Amazon Web Services storage bucket name. | |
|
||
| AWS\_S3\_REGION\_NAME | **Optional** Name of the AWS S3 region to use (eg. eu-west-1) | |
|
||
| AWS\_S3\_ENDPOINT\_URL | **Optional** Custom S3 URL to use when connecting to S3, including scheme. | |
|
||
| AWS\_S3\_CUSTOM\_DOMAIN | **Optional** Your custom domain where the files can be downloaded from. | |
|
||
| AWS\_* | **Optional** All other AWS\_ prefixed settings mentioned [here](https://django-storages.readthedocs.io/en/1.13.2/backends/amazon-S3.html#settings) are also supported. | |
|
||
| **<br>** | | |
|
||
| GC\_* | All GC\_ prefixed settings mentioned [here](https://django-storages.readthedocs.io/en/1.13.2/backends/gcloud.html#settings) are also supported. | |
|
||
| GS\_CREDENTIALS\_FILE\_PATH | **Optional** The path to a Google service account file for credentials. | |
|
||
| **<br>** | | |
|
||
| AZURE\_* | All AZURE\_ prefixed settings mentioned [here](https://django-storages.readthedocs.io/en/1.13.2/backends/azure.html#settings) are also supported. | |
|
||
| AZURE\_ACCOUNT\_KEY\_FILE\_PATH | **Optional** The path to a file containing your Azure account key. | |
|
||
| BASEROW\_SERVE\_FILES\_THROUGH\_BACKEND | Set this value to `true` to have the backend serve files. This feature is disabled by default. This setting does not automatically secure your storage server; additional measures should be taken if it was public to ensure it becomes inaccessible to unauthorized users. Note that it only works if the instance is on the enterprise plan. | | |
|
||
| BASEROW\_SERVE\_FILES\_THROUGH\_BACKEND\_PERMISSION | If this variable is not set or is left empty, the default behavior is equivalent to setting it to `DISABLED`, meaning no checks will be performed on users attempting to download files. To restrict file downloads to authenticated users, set this variable to `SIGNED_IN`. For an even stricter control, where only authenticated users with access to the workspace containing the file can download it, set the variable to `WORKSPACE_ACCESS`. | |
|
||
| BASEROW\_SERVE\_FILES\_THROUGH\_BACKEND\_EXPIRE\_SECONDS | When this variable is unset, file links are permanent and always accessible, provided the necessary permissions are met. If assigned a positive integer, this value specifies the link's validity period in seconds. After this duration expires, the link becomes invalid, preventing further file downloads. | |
|
||
|
||
|
||
### Email Configuration
|
||
| Name | Description | Defaults |
|
||
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
|
||
| FROM\_EMAIL | The email address Baserow will send emails from. | |
|
||
| EMAIL\_SMTP | If set to any non empty value then Baserow will start sending emails using the configuration options below. If not set then Baserow will not send emails and just log them to the Celery worker logs instead. | |
|
||
| EMAIL\_SMTP\_USE\_TLS | If set to any non empty value then Baserow will attempt to send emails using TLS.Whether to use a TLS (secure) connection when talking to the SMTP server. This is used for explicit TLS connections, generally on port 587. If you are experiencing hanging connections, see the implicit TLS setting EMAIL\_SMTP\_USE\_SSL. | |
|
||
| EMAIL\_SMTP\_USE\_SSL | If set to any non empty value then an implicit TLS (secure) connection will be used when talking to the SMTP server. In most email documentation this type of TLS connection is referred to as SSL. It is generally used on port 465. If you are experiencing problems, see the explicit TLS setting EMAIL\_SMTP\_USE\_TLS. Note that EMAIL\_SMTP\_USE\_TLS/EMAIL\_SMTP\_USE\_SSL are mutually exclusive, so only set one of those settings to True. | |
|
||
| EMAIL\_SMTP\_HOST | The host of the external SMTP server that Baserow should use to send emails. | |
|
||
| EMAIL\_SMTP\_PORT | The port used to connect to $EMAIL\_SMTP\_HOST on. | |
|
||
| EMAIL\_SMTP\_USER | The username to authenticate with $EMAIL\_SMTP\_HOST when sending emails. | |
|
||
| EMAIL\_SMTP\_PASSWORD | The password to authenticate with $EMAIL\_SMTP\_HOST when sending emails. | |
|
||
| EMAIL\_SMTP\_SSL\_CERTFILE\_PATH | If EMAIL\_SMTP\_USE\_SSL or EMAIL\_SMTP\_USE\_TLS is set, you can optionally specify the path to a PEM-formatted certificate chain file to use for the SSL connection. If using docker then you will need to mount in this file into all the Baserow backend containers. | |
|
||
| EMAIL\_SMTP\_SSL\_KEYFILE\_PATH | EMAIL\_SMTP\_USE\_SSL or EMAIL\_SMTP\_USE\_TLS is set, you can optionally specify the path to a PEM-formatted private key file to use for the SSL connection. If using docker then you will need to mount in this file into all the Baserow backend containers. Note that setting EMAIL\_SMTP\_SSL\_CERTFILE\_PATH and EMAIL\_SMTP\_SSL\_KEYFILE\_PATH doesn’t result in any certificate checking. They’re passed to the underlying SSL connection. Please refer to the documentation of Python’s ssl.wrap_socket() function for details on how the certificate chain file and private key file are handled. | |
|
||
|
||
### Web-frontend Configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
|
||
| BASEROW_INVITATION_BATCH_LIMIT | Maximum distinct new email addresses per workspace or scope invitation batch in the frontend. Existing members, teams, and agents do not count. Must be a positive integer; invalid values fall back to 5. This is not a backend rate limit. | 5 |
|
||
| DOWNLOAD\_FILE\_VIA\_XHR | Set to \`1\` to force download links to download files via XHR query to bypass \`Content-Disposition: inline\` that can't be overridden in another way. If your files are stored under another origin, you also must add CORS headers to your server. | 0 |
|
||
| BASEROW\_DISABLE\_PUBLIC\_URL\_CHECK | When opening the Baserow login page a check is run to ensure the PUBLIC\_BACKEND\_URL/BASEROW\_PUBLIC\_URL variables are set correctly and your browser can correctly connect to the backend. If misconfigured an error is shown. If you wish to disable this check and warning set this to any non empty value. | |
|
||
| ADDITIONAL\_MODULES | **Internal** A list of file paths to Nuxt module.js files to load as additional Nuxt modules into Baserow on startup. | |
|
||
| BASEROW\_DISABLE\_GOOGLE\_DOCS\_FILE\_PREVIEW | Set to \`true\` or \`1\` to disable Google docs file preview. | |
|
||
| BASEROW_MAX_SNAPSHOTS_PER_WORKSPACE | How many snapshots each workspace can keep across its applications: its snapshot allowance. Falls back to `BASEROW_MAX_SNAPSHOTS_PER_GROUP` for backward compatibility; the new name takes precedence. Each application reserves its max snapshots from it. `-1` means unlimited and `0` disables snapshots. | 50 |
|
||
| BASEROW_MAX_SNAPSHOTS_PER_APPLICATION | The highest max snapshots one application can have, which also caps the workspace default max snapshots. `-1` means no limit. | -1 |
|
||
| BASEROW_ENTERPRISE_AUTOMATIC_SNAPSHOTS_MIN_INTERVAL_MINUTES| The shortest interval, in minutes, an automatic snapshot schedule can run at. Values below 60 make an "every N minutes" interval available. | 60 |
|
||
| BASEROW_ENTERPRISE_AUTOMATIC_SNAPSHOTS_QUEUE_NAME| The Celery queue automatic snapshots are created on. Set it to run them on dedicated workers. | export |
|
||
| BASEROW\_USE\_PG\_FULLTEXT\_SEARCH | By default, Baserow will use Postgres full-text as its search backend. If the product is installed on a system with limited disk space, and less accurate results / degraded search performance is acceptable, then switch this setting off by setting it to false. | true |
|
||
| BASEROW\_UNIQUE\_ROW\_VALUES\_SIZE\_LIMIT | Sets the limit for the automatic detection of multiselect options when converting a text field to a multiselect field. Increase the value to detect more options automatically, but consider performance implications. | 100 |
|
||
| BASEROW\_BUILDER\_DOMAINS | A comma separated list of domain names that can be used as the domains to create sub domains in the application builder. | |
|
||
| BASEROW\_FRONTEND\_SAME\_SITE\_COOKIE | String value indicating what the sameSite value of the created cookies should be. | lax |
|
||
| BASEROW\_FRONTEND\_COOKIE\_PREFIX | Optional prefix added to frontend and builder preview cookie names. Set a unique value per same-host instance, for example when running multiple local instances on different ports, because browser cookies are not isolated by port. | |
|
||
| BASEROW\_DISABLE\_SUPPORT | Set to any value to disable the support features in Baserow. | |
|
||
| BASEROW\_EXTRA\_CLIENT\_SCRIPT\_URLS | A comma-separated list of URLs pointing to externally hosted JavaScript files that can be used to customize the frontend application. Requires an active enterprise license. | |
|
||
|
||
|
||
### SSO Configuration
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
|
||
| BASEROW\_SSO\_ALLOW\_PRIVATE\_ADDRESS | If set to `false`, SSO requests to admin/builder configured OAuth2/OpenID Connect provider URLs (the well-known, JWKS, token, and user info endpoints) are blocked from reaching private/internal network addresses and ports other than 80, 443, 8000, 8080 and 8443 (SSRF protection). Only applies to providers with configurable URLs (GitLab, OpenID Connect); Google, GitHub and Facebook use hardcoded URLs and are never blocked. The protection does not support egress proxies (`HTTP_PROXY`/`HTTPS_PROXY`). Defaults to `true` for backwards compatibility; setting it to `false` is recommended when your identity providers are hosted on public addresses and standard ports. | true |
|
||
| BASEROW\_ALLOW\_MULTIPLE\_SSO\_PROVIDERS\_FOR\_SAME\_ACCOUNT | By default Baserow will show a "please use the provider that you originally signed up with" error if you attempt to login to an email which has been already registered in your Baserow server with a different SSO provider/authentication method. This is to increase the security of your Baserow server. However, if you wish to allow a user who for example signed up initially using email and password to now login using a new SSO provider, and are comfortable with the increased risk of allowing this, then set this environment variable to any non empty value to disable this check. When turned on this environment variable will allow a Baserow account to be logged into by any available authentication method and not just the first one that particular user signed up with. If you later turn off this environment variable by removing it, users who have previously logged into their account with multiple different providers will be able to continue to use all of those providers to login, however any new users will be forced to use the first provider they signed up with. | |
|
||
|
||
### Captcha Configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
|
||
| BASEROW\_ENABLE\_CAPTCHA | Set to `all` to enable captcha verification on all supported pages (currently `signup`, `abuse_report` and `workspace_invitation`). You can also provide a comma-separated list of specific contexts like `signup,workspace_invitation` to enable captcha only in those places. Leave empty to disable captcha entirely. | |
|
||
| BASEROW\_CAPTCHA\_PROVIDER | The captcha provider to use. Currently only `cloudflare_turnstile` is supported. | cloudflare\_turnstile |
|
||
| BASEROW\_CLOUDFLARE\_TURNSTILE\_SITE\_KEY | The Cloudflare Turnstile site key (public). Obtain this from the Cloudflare dashboard under Turnstile widget management. | |
|
||
| BASEROW\_CLOUDFLARE\_TURNSTILE\_SECRET\_KEY | The Cloudflare Turnstile secret key (private). Obtain this from the Cloudflare dashboard under Turnstile widget management. This key is used for server-side token validation and must be kept secret. | |
|
||
|
||
### `baserow/baserow` Image only Configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
|
||
| NO\_COLOR | Set this to any non empty value to disable colored logging in the all-in-one baserow image. | |
|
||
| DATA\_DIR | For the all-in-one image only, this controls where Baserow will store all data that needs to be persisted. Inside this folder Baserow will store<br>\- Its postgres database<br>\- Redis database<br>\- Any autogenerated secrets like the django SECRET\_KEY, the postgresql database user password and the redis user password<br>\- Caddy will store its state + any certificates and keys it uses during auto https | |
|
||
| DISABLE\_VOLUME\_CHECK | For the all-in-one image only setting this to any non empty value will disable the check it runs on startup that the “/baserow/data/” directory is mounted to a volume. | |
|
||
|
||
### Plugin Configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
|
||
| BASEROW\_PLUGIN\_GIT\_REPOS | A comma separated list of plugin git repos to install on startup. | |
|
||
| BASEROW\_PLUGIN\_URLS | A comma separated list of plugin urls to install on startup. | |
|
||
| BASEROW\_DISABLE\_PLUGIN\_INSTALL\_ON\_STARTUP | When set to any non-empty values no automatic startup check and/or install of plugins will be run. Disables the above two env variables. |
|
||
| BASEROW\_PLUGIN\_DIR | **INTERNAL** Sets the folder where the Baserow plugin scripts look for plugins. | In the all-in-one image `/baserow/data/plugins`, otherwise `/baserow/plugins` |
|
||
|
||
### Posthog configuration
|
||
|
||
| Name | Description | Defaults |
|
||
| -------------------------- | --------------------------------------------------------------- | -------- |
|
||
| POSTHOG\_PROJECT\_API\_KEY | Set this to your Posthog project API key for product analytics. | |
|
||
| POSTHOG\_HOST | Set this to your Posthog host for product analytics. | |
|
||
|
||
Published applications don't store anything from Posthog in the browser of their
|
||
visitors and only send anonymous page views, using the
|
||
[cookieless tracking](https://posthog.com/docs/privacy/cookieless-tracking) of Posthog.
|
||
It must be enabled in the settings of your Posthog project, otherwise Posthog discards
|
||
the page views of published applications.
|
||
|
||
Grouped aggregation data sources in Dashboard and Application Builder can save a bucket
|
||
limit, including the Other bucket. `BASEROW_PREMIUM_GROUPED_AGGREGATE_SERVICE_MAX_AGG_BUCKETS`
|
||
(default: `10`) caps this value and is used when no limit is saved. Saved limits are
|
||
capped at execution time if the server maximum is reduced.
|