Skip to content
Open
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
5 changes: 5 additions & 0 deletions flash/apps/deploy-apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ The `flash_manifest.json` file is the brain of your deployment. It tells each en
- Which functions to execute.
- What Docker image to use.
- How to configure resources (GPUs, workers, scaling).
- Environment variables for workers.
- How to route HTTP requests (for load balancer endpoints).

```json
Expand All @@ -280,6 +281,10 @@ The `flash_manifest.json` file is the brain of your deployment. It tells each en
"imageName": "runpod/flash:latest",
"gpuIds": "AMPERE_16",
"workersMax": 3,
"env": {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Citation: PR #226 fixes env var persistence in the manifest. Changes in manifest.py show that the env dict is now extracted and included in the deployment config (excluding RUNPOD_API_KEY for security).
View source

"HF_TOKEN": "your_token",
"MODEL_ID": "gpt2"
},
"functions": [
{"name": "gpu_hello", "module": "gpu_worker"}
]
Expand Down
Loading