From 21e8fb243b3dc7b87cc2e4d3759adf9ea06bb6c7 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Tue, 13 Sep 2022 09:21:05 -0400 Subject: [PATCH] fix: Allow develop.sh to host docker workspaces (#3802) --- scripts/develop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/develop.sh b/scripts/develop.sh index 49939e42da..fcfc4ed55f 100755 --- a/scripts/develop.sh +++ b/scripts/develop.sh @@ -59,7 +59,7 @@ CODER_DEV_SHIM="${PROJECT_ROOT}/scripts/coder-dev.sh" # rather than leaving things in an inconsistent state. trap 'kill -TERM -$$' ERR cdroot - "${CODER_DEV_SHIM}" server --address 127.0.0.1:3000 --tunnel || kill -INT -$$ & + "${CODER_DEV_SHIM}" server --address 0.0.0.0:3000 --tunnel || kill -INT -$$ & echo '== Waiting for Coder to become ready' timeout 60s bash -c 'until curl -s --fail http://localhost:3000 > /dev/null 2>&1; do sleep 0.5; done'