Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions gateway/dstack-app/deploy-to-vmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ else

# Cloudflare API token for DNS challenge
# CF_API_TOKEN=your_cloudflare_api_token
# CF_ZONE_ID=your_cloudflare_zone_id

# Service domain
# SRV_DOMAIN=test5.dstack.phala.network
Expand Down Expand Up @@ -96,6 +97,7 @@ fi
required_env_vars=(
"VMM_RPC"
"CF_API_TOKEN"
"CF_ZONE_ID"
"SRV_DOMAIN"
"PUBLIC_IP"
"WG_ADDR"
Expand Down Expand Up @@ -134,6 +136,7 @@ cat "$COMPOSE_TMP"
# Update .env file with current values
cat <<EOF >.app_env
CF_API_TOKEN=$CF_API_TOKEN
CF_ZONE_ID=$CF_ZONE_ID
SRV_DOMAIN=$SRV_DOMAIN
WG_ENDPOINT=$PUBLIC_IP:$WG_PORT
MY_URL=$MY_URL
Expand Down
1 change: 1 addition & 0 deletions gateway/dstack-app/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
- WG_ENDPOINT=${WG_ENDPOINT}
- SRV_DOMAIN=${SRV_DOMAIN}
- CF_API_TOKEN=${CF_API_TOKEN}
- CF_ZONE_ID=${CF_ZONE_ID}
- MY_URL=${MY_URL}
- BOOTNODE_URL=${BOOTNODE_URL}
- ACME_STAGING=${ACME_STAGING}
Expand Down
Loading