Skip to content

Commit 7c5c4f2

Browse files
authored
Update README.md
1 parent a66e9be commit 7c5c4f2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

phala-cloud-prelaunch-script/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,13 @@ Set these encrypted environment variables:
2727
- `DSTACK_AWS_REGION` - AWS region for your ECR repository
2828
- `DSTACK_AWS_ECR_REGISTRY` - Your AWS ECR registry URL
2929
- `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

Comments
 (0)