flocks dev, flocks gateway, flocks roost) accepts --config and
falls back to a sensible default for the mode.
Gateway
gateway.toml
Roost
roost.toml
Environment variables
| Variable | Default | What it does |
|---|---|---|
FLOCKS_BIND | 127.0.0.1:7700 | Override the gateway/roost bind. |
FLOCKS_DATA_DIR | ./data | Coordinator + audit storage. |
FLOCKS_LOG | info | tracing filter (e.g. flocks=debug,axum=warn). |
FLOCKS_REGISTRY | https://download.flocks.sh | Where flocks-publish ships releases. |
Where things live
| Path | Contents |
|---|---|
~/.local/bin/flocks | The CLI binary (installed by install.sh). |
~/.config/flocks/ | User-scoped TOML config + persisted gateway URL. |
./data/gateway/ | Coordinator state, hash-chained audit log. |
./data/roost/ | Run journals, capability cache, last grants. |