vana-com/Vana Phala Deployment
Deploys a CVM to Phala Cloud using a Python script.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| phala-cloud-api-key | The API key for authenticating with the Phala Cloud API. | yes | — |
| vm-name | Name for the CVM. Defaults to the GitHub repository name if not provided. | no | — |
| vm-id | The ID of an existing VM to update. If provided, the action performs an update instead of creating a new VM. | no | — |
| image | The base image to use for the CVM (e.g., dstack-dev-0.3.5). | no | dstack-dev-0.3.5 |
| docker-compose-file | Path to the Docker Compose file for the TEE, relative to the root of the user repository. | yes | docker-compose.phala.yml |
| docker-tag | The tag for the Docker image specified in the compose file. | no | latest |
| prelaunch-script-file | Optional path to a pre-launch script to be executed inside the CVM, relative to the root of the user repository. | no | — |
| teepod-id | Specific Teepod ID to deploy to. If omitted, an available one will be selected automatically. | no | — |
| vcpu | Number of virtual CPUs for the CVM. | no | 2 |
| memory | Memory in MB for the CVM. | no | 8192 |
| disk-size | Disk size in GB for the CVM. | no | 40 |
| doppler-secrets-json | A JSON string containing all secrets fetched from Doppler. | yes | — |
| exclude-env-vars | A JSON array of secret names from Doppler to exclude from CVM encryption. Example: '["PHALA_VM_ID", "SOME_OTHER_SECRET"]' | no | [] |
| public-logs | Whether to make VM logs publicly visible on Phala Cloud. Note: This setting can only be configured during VM creation, not during updates. Defaults to "false" for security. Set to "true" to enable public log access. | no | false |
Outputs
| name | description |
|---|---|
| vm-id | The ID of the created or updated CVM. |
| vm-name | The name of the CVM. |
| status | The final status of the deployment (e.g., "success", "failed"). |
| operation | The operation performed ("create" or "update"). |