Docker Deployment
Igris ships with a Dockerfile for containerized deployment. This guide covers building the image, running locally, and deploying to Fly.io.Building the Image
From the repository root:- Install — installs dependencies with Bun
- Build — compiles the Hono API server
- Runtime — minimal production image
Running Locally
Deploying to Fly.io
1. Install the Fly CLI
2. Create the App
3. Set Secrets
4. Deploy
5. Verify
Fly.io Configuration
Thefly.toml should include:
auto_stop_machines = false to keep the proxy always available for MCP tool calls.
Frontend Deployment
The Next.js frontend can be deployed separately:- Fly.io — similar process with a separate Dockerfile
- Vercel — connect the repo, set the root directory to
apps/web
NEXT_PUBLIC_API_URL environment variable to point to your API deployment.
Health Check
The API exposes a/health endpoint that returns: