fix(gateway): persist pairing tokens and honor docker config (#630)

* fix(gateway): honor config bind settings and persist pairing

Resolve docker-compose startup and restart friction by:
- using config host/port defaults for gateway/daemon unless CLI flags are passed
- persisting paired token hashes to config.toml on successful /pair
- running container default command as 'zeroclaw gateway' (no hardcoded --host/--port overrides)
- updating compose image/docs to zeroclaw-labs namespace
- adding MODEL env fallback for default_model override and targeted regression tests

* chore(ci): sync lockfile and restore rustfmt parity

Update Cargo.lock to match Cargo.toml and format src/service/mod.rs so rust quality gates stop failing with unrelated baseline drift.
This commit is contained in:
Will Sarg 2026-02-17 15:05:56 -05:00 committed by GitHub
parent 35f7597c3c
commit 30b9df761a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 103 additions and 36 deletions

View file

@ -2,14 +2,14 @@
#
# Quick start:
# 1. Copy this file and set your API key
# 2. Run: docker-compose up -d
# 2. Run: docker compose up -d
# 3. Access gateway at http://localhost:3000
#
# For more info: https://github.com/theonlyhennygod/zeroclaw
# For more info: https://github.com/zeroclaw-labs/zeroclaw
services:
zeroclaw:
image: ghcr.io/theonlyhennygod/zeroclaw:latest
image: ghcr.io/zeroclaw-labs/zeroclaw:latest
# Or build locally:
# build: .
container_name: zeroclaw