Skip to content

Commit

Permalink
fix: Sail share 504 timeout fix for linux hosts (#709)
Browse files Browse the repository at this point in the history
Co-authored-by: Ernst <ernst@cubezoo.joburg>
  • Loading branch information
rqpt and CZErnst authored Nov 8, 2024
1 parent 2304fb2 commit f2d43f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sail
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ elif [ "$1" == "share" ]; then
shift 1

if [ "$EXEC" == "yes" ]; then
docker run --init --rm -p "$SAIL_SHARE_DASHBOARD":4040 -t beyondcodegmbh/expose-server:latest share http://host.docker.internal:"$APP_PORT" \
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" \
--server-host="$SAIL_SHARE_SERVER_HOST" \
--server-port="$SAIL_SHARE_SERVER_PORT" \
--auth="$SAIL_SHARE_TOKEN" \
Expand Down

0 comments on commit f2d43f0

Please sign in to comment.