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.
2 parents df927ac + cd24ed5 commit 25fc3fcCopy full SHA for 25fc3fc
1 file changed
gateway/dstack-app/deploy-to-vmm.sh
@@ -60,7 +60,7 @@ PUBLIC_IP=$(curl -s4 ifconfig.me)
60
# GATEWAY_APP_ID=31884c4b7775affe4c99735f6c2aff7d7bc6cfcd
61
62
# Whether to use ACME staging (yes/no)
63
-ACME_STAGING=yes
+ACME_STAGING=no
64
65
# Subnet index. 0~15
66
SUBNET_INDEX=0
@@ -178,7 +178,7 @@ EOF
178
--no-instance-id \
179
--secure-time \
180
--prelaunch-script .prelaunch.sh \
181
- --output .app-compose.json
+ --output .app-compose.json > /dev/null
182
fi
183
184
# Set launch_token_hash in app-compose.json
@@ -188,6 +188,9 @@ jq \
188
'.launch_token_hash = $token_hash' \
189
.app-compose.json.tmp > .app-compose.json
190
191
+COMPOSE_HASH=$(sha256sum .app-compose.json | cut -d' ' -f1)
192
+echo "Compose hash: 0x$COMPOSE_HASH"
193
+
194
# Remove the temporary file as it is no longer needed
195
rm "$COMPOSE_TMP"
196
0 commit comments