flyio-local-dev-loop

Featured

Configure Fly.io local development with Docker, proxy, and SSH console. Use when setting up local dev against Fly services, testing Dockerfiles, or establishing a fast iteration cycle. Trigger: "fly.io dev setup", "fly.io local development", "fly proxy".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Fly.io Local Dev Loop ## Overview Fast local development workflow for Fly.io apps: build and test Docker containers locally, proxy remote Fly services (Postgres, Redis) to localhost, and use `fly deploy` for integration testing. ## Instructions ### Step 1: Local Docker Testing ```bash # Build and run locally — same Dockerfile used by Fly docker build -t my-app . docker run -p 3000:3000 \ -e NODE_ENV=development \ -e DATABASE_URL="postgres://localhost:5432/dev" \ my-app # Test curl http://localhost:3000/health ``` ### Step 2: Proxy Remote Fly Services ```bash # Proxy Fly Postgres to localhost:5432 fly proxy 5432 -a my-db & # Now use local tools against remote Fly Postgres psql postgres://postgres:password@localhost:5432/mydb npx prisma studio # Prisma GUI works against proxied DB # Proxy Redis fly proxy 6379 -a my-redis & redis-cli -h localhost -p 6379 ``` ### Step 3: Development fly.toml ```toml # fly.dev.toml — dev overrides (not committed) app = "my-app-dev" primary_region = "iad" [env] NODE_ENV = "development" LOG_LEVEL = "debug" [http_service] internal_port = 3000 auto_stop_machines = "off" # Keep running for debugging min_machines_running = 1 [[vm]] cpu_kind = "shared" cpus = 1 memory = "256mb" # Smaller for dev ``` ### Step 4: Fast Deploy Cycle ```bash # Deploy to dev app fly deploy -a my-app-dev --config fly.dev.toml # Watch logs while testing fly logs -a my-app-dev --no-tail & # SSH in for debugging fly ssh console -a my-a...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

fireflies-local-dev-loop

Configure local development workflow for Fireflies.ai GraphQL integrations. Use when setting up a development environment, mocking transcript data, or establishing a fast iteration cycle with the Fireflies API. Trigger with phrases like "fireflies dev setup", "fireflies local development", "fireflies dev environment", "develop with fireflies", "mock fireflies".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flyio-deploy-integration

Advanced Fly.io deployment strategies including blue-green deployments, canary releases, multi-region rollouts, and Machines API orchestration. Trigger: "fly.io blue-green", "fly.io canary deploy", "fly.io rolling update".

2,266 Updated today
jeremylongshore
AI & Automation Featured

firecrawl-local-dev-loop

Configure Firecrawl local development with self-hosted Docker, mocking, and testing. Use when setting up a development environment, running Firecrawl locally to save credits, or configuring test workflows with vitest. Trigger with phrases like "firecrawl dev setup", "firecrawl local development", "firecrawl docker", "firecrawl self-hosted dev", "firecrawl test setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flyio-core-workflow-a

Execute Fly.io primary workflow: deploy, scale, and manage apps with flyctl and fly.toml. Use when deploying applications, configuring regions, setting secrets, or managing the app lifecycle on Fly.io. Trigger: "fly deploy", "fly.io app management", "fly scale", "fly.io regions".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-local-dev-loop

Configure Flexport local development with mock API responses and testing. Use when setting up a development environment, creating mock shipment data, or establishing a fast iteration cycle for Flexport logistics integration. Trigger: "flexport dev setup", "flexport local development", "flexport mock API".

2,266 Updated today
jeremylongshore