Skip to content

Commit 9821218

Browse files
eschuthoclaude
andcommitted
fix(docker): bind webpack dev server to all interfaces
Change WEBPACK_DEVSERVER_HOST from 127.0.0.1 to 0.0.0.0 to make the frontend accessible from outside the Docker container. This fixes an issue where the frontend was only accessible from inside the container. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 1e4bc6e commit 9821218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose-light.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ services:
163163
# configuring the dev-server to use the host.docker.internal to connect to the backend
164164
superset: "http://superset-light:8088"
165165
# Webpack dev server configuration
166-
WEBPACK_DEVSERVER_HOST: "${WEBPACK_DEVSERVER_HOST:-127.0.0.1}"
166+
WEBPACK_DEVSERVER_HOST: "${WEBPACK_DEVSERVER_HOST:-0.0.0.0}"
167167
WEBPACK_DEVSERVER_PORT: "${WEBPACK_DEVSERVER_PORT:-9000}"
168168
ports:
169169
- "${NODE_PORT:-9001}:9000" # Parameterized port, accessible on all interfaces

0 commit comments

Comments
 (0)