Skip to content

Commit 82995f4

Browse files
Garandorclaude
andcommitted
fix: use auto-populated DSTACK_GATEWAY_DOMAIN instead of hardcoded value (CPL-152) (#191)
GATEWAY_DOMAIN was hardcoded to _.dstack-base-prod5.phala.network which may not match the actual gateway. DSTACK_GATEWAY_DOMAIN is auto-injected by Phala Cloud into the CVM environment per their networking specs. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 60a0d8a commit 82995f4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docker-compose.phala.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ services:
109109
# Route 53 provider docs (env vars, optional role assumption):
110110
# https://github.com/Dstack-TEE/dstack-examples/blob/main/custom-domain/dstack-ingress/DNS_PROVIDERS.md
111111
DOMAIN: "${CERTBOT_DOMAIN}"
112-
GATEWAY_DOMAIN: "_.dstack-base-prod5.phala.network"
112+
# DSTACK_GATEWAY_DOMAIN is auto-populated by Phala Cloud into the CVM.
113+
# https://docs.phala.com/phala-cloud/networking/specifications
114+
GATEWAY_DOMAIN: "_.${DSTACK_GATEWAY_DOMAIN}"
113115
DNS_PROVIDER: "route53"
114116
TARGET_ENDPOINT: "http://lit-api-server:8000"
115117
CERTBOT_EMAIL: "admin@litprotocol.com"

0 commit comments

Comments
 (0)