dosubot[bot] commented on issue #34441:
URL: https://github.com/apache/superset/issues/34441#issuecomment-3142110931
<!-- Answer -->
In Docker Compose, Superset expects custom config overrides at
./docker/pythonpath_dev/superset_config_docker.py on your host (which maps to
/app/pythonpath/superset_config_docker.py in the container). Placing your
config at /app/superset/superset_config.py and setting SUPERSET_CONFIG_PATH can
cause import issues or prevent the config from loading, especially if there are
path or PYTHONPATH mismatches. The recommended approach is to move your config
to ./docker/pythonpath_dev/superset_config_docker.py, remove
SUPERSET_CONFIG_PATH, and restart your containers. Check your logs for "Loaded
your Docker configuration at [...]" to confirm it's picked up—if you see "Using
default Docker config...", your override isn't being loaded. If you want to
test that Superset is attempting to load your config, add raise
Exception("test") at the top of superset_config_docker.py and look for the
error in the logs. This should help you pinpoint why your config isn't loading
and get your customizatio
ns working again.
[Reference](https://github.com/apache/superset/issues/33702) [Docker config
docs](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/README.md)
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do?
[Good](https://app.dosu.dev/response-feedback/dff2d9b1-bb06-4958-b225-eee43a6a14dd?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/dff2d9b1-bb06-4958-b225-eee43a6a14dd?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/dff2d9b1-bb06-4958-b225-eee43a6a14dd?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/dff2d9b1-bb06-4958-b225-eee43a6a14dd?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/dff2d9b1-bb06-4958-b225-eee43a6a14dd?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/dff2d9b1-bb06-4958-b225-eee43a6a14dd?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/dff2d9b1-bb06-4958-b225-eee43a6a14dd?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34441)
--
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]