We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4479c5 commit 8f170d7Copy full SHA for 8f170d7
1 file changed
phala-cloud-prelaunch-script/prelaunch.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
echo "----------------------------------------------"
3
-echo "Running Phala Cloud Pre-Launch Script v0.0.6"
+echo "Running Phala Cloud Pre-Launch Script v0.0.7"
4
5
set -e
6
@@ -151,6 +151,9 @@ fi
151
if [[ $(jq 'has("default_gateway_domain")' app-compose.json) == "true" && -z "$DSTACK_GATEWAY_DOMAIN" ]]; then
152
export DSTACK_GATEWAY_DOMAIN=$(jq -j '.default_gateway_domain' app-compose.json)
153
fi
154
+if [[ -n "$DSTACK_GATEWAY_DOMAIN" ]]; then
155
+ export DSTACK_APP_DOMAIN=$DSTACK_APP_ID"."$DSTACK_GATEWAY_DOMAIN
156
+fi
157
158
159
echo "Script execution completed"
0 commit comments