Add a new environment variable for a Django setting in Baserow and propagate it to the few repo files that usually need it. Use this when a request says a config env var must be added in several places or references `INTEGRATION_LOCAL_BASEROW_PAGE_SIZE_LIMIT` as the pattern to follow.
Use INTEGRATION_LOCAL_BASEROW_PAGE_SIZE_LIMIT as the template. The env var name should be prefixed with BASEROW_ but the internal var isn't.
Keep the change simple and explicit. Do not add abstractions for this.
When adding a new setting, usually check these files:
backend/src/baserow/config/settings/base.pydocker-compose.ymldocker-compose.no-caddy.ymlweb-frontend/env-remap.mjsdocs/installation/configuration.md — the canonical env-var reference table; add a row in the right sectionbackend/src/baserow/config/settings/base.py near the closest related setting.Example:
MY_SETTING = int(os.getenv("BASEROW_MY_SETTING", 123))
docker-compose.ymldocker-compose.no-caddy.ymlIf the frontend needs it at runtime, add it to web-frontend/env-remap.mjs.
Update consumers to use the setting:
settings.MY_SETTINGoverride_settings(MY_SETTING=...)Add or update a targeted test if the setting changes behavior.
Add the related documentation in docs/installation/configuration.md — find the right section (e.g. Backend Configuration, Integration Configuration) and add a table row matching the format of the nearest existing entry.
base.pysettings.<NAME> in codedocs/installation/configuration.md when necessaryos.getenv(...) in application code when the value belongs in Django settings.