fly-io
Skill2 starsChanged 4 months agoMITView on GitHub
Use to deploy Docker/containerized apps close to users on Fly Machines, configured with fly.toml and the flyctl CLI.
- Pipes a download into a shell
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- wshaddix/dotnet-skillstheir own version, first seen Feb 16, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- wshaddix/dotnet-skills★ 79same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- anthropicSkill
- clerkSkill
- cloudflare-workersSkill
- dockerSkill
- github-actionsSkill
- neonSkill
- netlifySkill
- nextjsSkill
- openaiSkill
- prismaSkill
- railwaySkill
- renderSkill
- resendSkill
- sentrySkill
- stripeSkill
- supabaseSkill
- tailwindcssSkill
- terraformSkill
- upstash-redisSkill
- vercelSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 20
Use when: you want an always-on containerized app running in specific/multiple regions.
- Distinctive: line 21
Use when: you need real VMs (persistent volumes, custom runtimes) rather than serverless functions.
- Distinctive: line 22
Don't use for: static-only sites (a CDN host is simpler) or pure edge functions (use Cloudflare).
- Very specific: line 100
Never bake secrets into the Docker image or commit them in fly.toml.
- Very specific: line 101
Use fly ips / private networking to avoid exposing internal services publicly.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fly.io — Skillship
Run full apps (not just functions) as lightweight VMs called Machines, deployed close to users in many regions. You bring a Dockerfile (or let Fly detect one);
fly launchandfly deploydo the rest.
🧭 When to use this skill
- Use when: you want an always-on containerized app running in specific/multiple regions.
- Use when: you need real VMs (persistent volumes, custom runtimes) rather than serverless functions.
- Don't use for: static-only sites (a CDN host is simpler) or pure edge functions (use Cloudflare).
⚡ Quickstart
1. Install flyctl + sign in
# macOS/Linux: curl -L https://fly.io/install.sh | sh | Windows: iwr https://fly.io/install.ps1 -useb | iex
fly auth login2. Launch (creates fly.toml, detects/builds a Dockerfile, provisions the app)
fly launch # walks you through app name, region, and optional Postgres/Redis3. Deploy / redeploy
fly deploy
fly open # open the app URL
fly logs # tail logs🧩 Common recipes
Recipe: Set runtime secrets (NOT in fly.toml)
fly secrets set STRIPE_SECRET_KEY=sk_live_... DATABASE_URL=postgres://...
fly secrets list # names only
# Setting/removing secrets triggers a new deploy so machines pick them up.Recipe: Minimal fly.toml
app = "my-app"
primary_region = "iad"
[build]
# dockerfile = "Dockerfile" # auto-detected if present
[http_service]
internal_port = 8080 # must match the port your app listens on
force_https = true
auto_stop_machines = true # scale to zero when idle
auto_start_machines = true
min_machines_running = 0
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 512Recipe: Scale (count + size + regions)
fly scale count 3 # run 3 machines
fly scale vm shared-cpu-1x --memory 1024
fly regions add fra sin # add regionsRecipe: Add a persistent volume
fly volumes create data --size 10 --region iad
# then mount it in fly.toml:
# [mounts]
# source = "data"
# destination = "/data"🚀 Ship to production
- Runtime secrets set via
fly secrets set(encrypted) — never infly.tomlor the image. internal_portinfly.tomlmatches the port your app actually listens on (bind0.0.0.0).force_https = true; health checks configured so bad deploys don't take traffic.primary_regionchosen near users/DB; add regions only when needed (watch DB latency).- Decide on
auto_stop_machines(cost) vsmin_machines_running(no cold starts). - Persistent state on a volume, not the ephemeral machine filesystem.
🔐 Security & secrets
fly secretsare encrypted and injected as env vars at runtime; changing them redeploys the app.- Never bake secrets into the Docker image or commit them in
fly.toml. - Use
fly ips/ private networking to avoid exposing internal services publicly.
🐛 Common errors & fixes
| Symptom | Likely cause | Fix |
| Deploy healthchecks fail / no traffic | App not listening on internal_port | Match internal_port; bind 0.0.0.0, not 127.0.0.1 |
| Secret changes not applied | App read env at build time | Read process.env at runtime; secrets redeploy machines |
| Data lost after deploy | Wrote to ephemeral FS | Use a mounted volume |
| Cold starts | auto_stop_machines with 0 running | Set min_machines_running = 1 |
| High latency to DB | App region far from DB | Colocate primary_region with the database |
📚 Sources
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

