Skip to content

Commit f2d43f0

Browse files
rqptCZErnst
andauthored
fix: Sail share 504 timeout fix for linux hosts (#709)
Co-authored-by: Ernst <[email protected]>
1 parent 2304fb2 commit f2d43f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/sail

+1-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ elif [ "$1" == "share" ]; then
556556
shift 1
557557

558558
if [ "$EXEC" == "yes" ]; then
559-
docker run --init --rm -p "$SAIL_SHARE_DASHBOARD":4040 -t beyondcodegmbh/expose-server:latest share http://host.docker.internal:"$APP_PORT" \
559+
docker run --init --rm --add-host=host.docker.internal:host-gateway -p "$SAIL_SHARE_DASHBOARD":4040 -t beyondcodegmbh/expose-server:latest share http://host.docker.internal:"$APP_PORT" \
560560
--server-host="$SAIL_SHARE_SERVER_HOST" \
561561
--server-port="$SAIL_SHARE_SERVER_PORT" \
562562
--auth="$SAIL_SHARE_TOKEN" \

0 commit comments

Comments
 (0)