# Required environment variables for Launcher / MPC app deployment. # Please uncomment and set values for the following variables: APP_NAME="launcher_test_app" # VMM_RPC -The RPC of the dstack-vmm RPC service used to deploy CVMs # Can either be a unix socket or an http address. (make sure this is the same configuration as in the dstack-vmm service.toml) #VMM_RPC=unix:../../../build/vmm.sock VMM_RPC=http://127.0.0.1:10000 # The type of sealing key to used by the VM (SGX,KMS). # SGX is the production setting; KMS is only for dev/testing. SEALING_KEY_TYPE=SGX # Port on the host machine to connect to the dstack guest agent EXTERNAL_DSTACK_AGENT_PORT=127.0.0.1:9208 EXTERNAL_SSH_PORT=127.0.0.1:9209 # External MPC ports (host machine). # The address part is the host IP qemu binds each forward to. # 0.0.0.0 — bind on every host interface; the canonical single-node default. # — bind only to that public IP. Use this when running multiple # CVMs on one host (mainnet + testnet) so each CVM lands on a # distinct IP. See: # docs/running-multiple-mpc-nodes-on-one-host.md EXTERNAL_MPC_PUBLIC_DEBUG_PORT=0.0.0.0:8989 EXTERNAL_MPC_LOCAL_DEBUG_PORT=127.0.0.1:3030 EXTERNAL_MPC_DECENTRALIZED_STATE_SYNC=0.0.0.0:24567 EXTERNAL_MPC_MAIN_PORT=0.0.0.0:80 EXTERNAL_MPC_MIGRATION_PORT=0.0.0.0:8079 # Internal MPC ports (inside CVM) INTERNAL_MPC_PUBLIC_DEBUG_PORT=8080 INTERNAL_MPC_LOCAL_DEBUG_PORT=3030 INTERNAL_MPC_DECENTRALIZED_STATE_SYNC=24567 INTERNAL_MPC_MAIN_PORT=80 INTERNAL_MPC_MIGRATION_PORT=8079 # The dstack OS image name use for the CVM # production OS image #OS_IMAGE=dstack-0.5.8 # development OS image OS_IMAGE=dstack-dev-0.5.8 # Launcher and MPC node manifest digests. The launcher compose template at # crates/contract/assets/launcher_docker_compose.yaml.template is rendered # with these digests by deploy-launcher.sh, and the rendered file's SHA256 # must match an entry in the contract's allowed_launcher_compose_hashes for # attestation to succeed. # # Each digest is fetched from a separate contract view method: # allowed_launcher_image_hashes -> set LAUNCHER_MANIFEST_DIGEST # allowed_docker_image_hashes -> set MPC_MANIFEST_DIGEST # # Discover the currently-allowed digests with: # near contract call-function as-read-only \ # json-args '{}' network-config testnet now # # Both lines below are commented out by default — you MUST uncomment and # set them before deploying. deploy-launcher.sh refuses to run otherwise. #LAUNCHER_MANIFEST_DIGEST=sha256: #MPC_MANIFEST_DIGEST=sha256: # Path of the user_config file USER_CONFIG_FILE_PATH=user-config.toml # for testing use a smaller disk size 128G DISK=1000G