You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phala-cloud-prelaunch-script/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,3 +27,13 @@ Set these encrypted environment variables:
27
27
-`DSTACK_AWS_REGION` - AWS region for your ECR repository
28
28
-`DSTACK_AWS_ECR_REGISTRY` - Your AWS ECR registry URL
29
29
-`DSTACK_AWS_SESSION_TOKEN` - Only needed for temporary AWS credentials
30
+
31
+
## Dstack App Related
32
+
33
+
The following three environment variables will be automatically added by the default pre-launch script from Phala Cloud:
34
+
35
+
-`DSTACK_APP_ID`: The unique identifier for the Dstack App.
36
+
-`DSTACK_GATEWAY_DOMAIN`: The gateway domain for accessing the Dstack App.
37
+
-`DSTACK_APP_DOMAIN`: The default domain of the Dstack App.
38
+
39
+
NOTE: `DSTACK_APP_DOMAIN` equals to `${DSTACK_APP_ID}.${DSTACK_GATEWAY_DOMAIN}`, which acccessing port 80. It equals to `${DSTACK_APP_ID}-80.${DSTACK_GATEWAY_DOMAIN}`.
0 commit comments