This is an automated email from the ASF dual-hosted git repository.

beto pushed a commit to branch fix-docker-compose-light
in repository https://gitbox.apache.org/repos/asf/superset.git

commit fa1546a3a58a3a51a188cdbff5bbcd88b58652fa
Author: Beto Dealmeida <[email protected]>
AuthorDate: Tue Feb 3 14:58:53 2026 -0500

    fix(docker): fix docker-compose-light.yml for development
    
    - Set EXAMPLES_HOST to db-light (matches the service name)
    - Skip example loading for faster startup
    - Change WEBPACK_DEVSERVER_HOST default to 0.0.0.0 for host access
    
    Co-Authored-By: Claude Opus 4.5 <[email protected]>
---
 docker-compose-light.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docker-compose-light.yml b/docker-compose-light.yml
index 09b0c65b0f8..db56c5546f7 100644
--- a/docker-compose-light.yml
+++ b/docker-compose-light.yml
@@ -138,6 +138,10 @@ services:
       DATABASE_DB: superset_light
       POSTGRES_DB: superset_light
       SUPERSET_CONFIG_PATH: 
/app/docker/pythonpath_dev/superset_config_docker_light.py
+      # Override examples host to use light DB service
+      EXAMPLES_HOST: db-light
+      # Skip example loading for faster startup
+      SUPERSET_LOAD_EXAMPLES: "no"
     healthcheck:
       disable: true
 
@@ -160,7 +164,7 @@ services:
       # configuring the dev-server to use the host.docker.internal to connect 
to the backend
       superset: "http://superset-light:8088";
       # Webpack dev server configuration
-      WEBPACK_DEVSERVER_HOST: "${WEBPACK_DEVSERVER_HOST:-127.0.0.1}"
+      WEBPACK_DEVSERVER_HOST: "${WEBPACK_DEVSERVER_HOST:-0.0.0.0}"
       WEBPACK_DEVSERVER_PORT: "${WEBPACK_DEVSERVER_PORT:-9000}"
     ports:
       - "${NODE_PORT:-9001}:9000"  # Parameterized port, accessible on all 
interfaces

Reply via email to