utamhank1 opened a new pull request, #40837:
URL: https://github.com/apache/superset/pull/40837

   ### SUMMARY
   Resolved Docker networking issues that were causing slow initialization and 
startup delays by:
   
   1. **Removed webpack startup probe**: Removed the complex curl-based polling 
logic (up to 5 minutes) that check This blocking wait was the primary cause of 
initialization delays.
   2. **Fixed container DNS resolution**: Changed nginx upstreams from 
`host.docker.internal` to Docker service names (`superset`, `superset-node`, 
`superset-websocket`) and added explicit DNS resolver configuration to nginx. 
This ensures reliable
   container-to-container communication.
   3. **Added service dependencies**: Declared explicit `depends_on` in nginx 
service to ensure proper startup ordering.
   4. **Enhanced debugging**: Enabled debug logging (FLASK_DEBUG, 
SUPERSET_DEBUG_ENABLED, SUPERSET_LOG_LEVEL=debugion in .env for easier 
troubleshooting.
   5. **Updated websocket config reference**: Changed from example config to 
actual config.json path.
   
   These changes eliminate initialization delays and improve reliability of 
Docker Compose networking without requiring manual webpack dev server checks.


-- 
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