mistercrunch commented on code in PR #34210:
URL: https://github.com/apache/superset/pull/34210#discussion_r2244125312


##########
docs/docs/configuration/configuring-superset.mdx:
##########
@@ -97,6 +114,102 @@ for more information on how to configure it.
 
 At the very least, you'll want to change `SECRET_KEY` and 
`SQLALCHEMY_DATABASE_URI`. Continue reading for more about each of these.
 
+## Environment Variables Configuration
+
+For containerized deployments and CI/CD pipelines, Superset supports 
configuration through environment variables. This is particularly useful for:
+
+- **Docker deployments** - Configure containers without rebuilding images
+- **Kubernetes environments** - Use ConfigMaps and Secrets
+- **CI/CD pipelines** - Set configuration dynamically based on environment
+- **Development workflows** - Override settings locally without changing files
+
+### Environment Variable Format
+
+All Superset environment variables must use the `SUPERSET__` prefix (note the 
double underscore):
+
+```bash
+# Basic settings
+export SUPERSET__ROW_LIMIT=100000
+export SUPERSET__SQLLAB_TIMEOUT=60

Review Comment:
   one challenge with env vars is you might want to configure a master `.env` 
file that configures multiple services and there can be collisions. Though 
prefixing for the new config system would be great. We do have support for SOME 
env vars, but I think they're all hard-coded. Good point though that we'll need 
to support those, maybe a deprecated env var mapping system with warning lie 
"`DB_NAME` is getting deprecated, please user SUPERSET__METADATA_DB_NAME" or 
something like that



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to