16.5. Fly.io#

Deploy to Fly.io for edge deployment with health checks and auto-scaling.

16.5.1. Prerequisites#

Install Fly CLI.

16.5.2. Deploy Commands#

# Clone and deploy
git clone https://github.com/ionsec/flareinspect.git
cd flareinspect
fly launch --no-deploy
fly deploy

# Set environment variables
fly secrets set CLOUDFLARE_TOKEN=your_token
fly secrets set FLAREINSPECT_API_KEY=$(openssl rand -hex 32)

# Open the app
fly open

16.5.3. Free Allowance#

3 shared-cpu-1x VMs (256 MB each).

16.5.4. Access the Dashboard#

https://your-app.fly.dev