# Fly.io deployment (human only)

Prepare Fly.io locally. Build with docker build -t axol-contributor:fixture . (or podman build), then run docker run --rm --network none axol-contributor:fixture and confirm both fixture decisions; `sh start.sh image` does both and checks the output. This is a one-shot worker image with no HTTP service. Stop after local preparation.

After separate approval, a human chooses their Fly organization, app name, region, billing limits and one shared-cpu-1x Machine. The human authenticates locally, creates the private app and uploads the verified tagged image to its private Fly registry. After approval, set APP and REGION to the human's approved app and region in their own shell. These commands assume Docker and the approved app already exist:

```sh
fly auth docker
docker tag axol-contributor:fixture "registry.fly.io/$APP:fixture"
docker push "registry.fly.io/$APP:fixture"
fly machine run "registry.fly.io/$APP:fixture" --app "$APP" --region "$REGION" --vm-size shared-cpu-1x --vm-memory 512 --restart no
```

No ports or public service are needed. Use fly logs --app "$APP" to check the fixture evidence, then destroy the stopped Machine after approval. Do not provision resources or upload anything on the strength of the setup prompt or this file. Fly usage and any later external provider/RPC usage have separate costs.

## References

- Fly private registry: https://docs.fly.io/blueprints/using-the-fly-docker-registry/
- Fly Machine run: https://fly.io/docs/flyctl/machine-run/
- Fly pricing: https://fly.io/pricing/
