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:
parent
35f7597c3c
commit
30b9df761a
6 changed files with 103 additions and 36 deletions
|
|
@ -90,7 +90,7 @@ WORKDIR /zeroclaw-data
|
|||
USER 65534:65534
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT ["zeroclaw"]
|
||||
CMD ["gateway", "--port", "3000", "--host", "[::]"]
|
||||
CMD ["gateway"]
|
||||
|
||||
# ── Stage 4: Production Runtime (Distroless) ─────────────────
|
||||
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:84fcd3c223b144b0cb6edc5ecc75641819842a9679a3a58fd6294bec47532bf7 AS release
|
||||
|
|
@ -112,4 +112,4 @@ WORKDIR /zeroclaw-data
|
|||
USER 65534:65534
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT ["zeroclaw"]
|
||||
CMD ["gateway", "--port", "3000", "--host", "[::]"]
|
||||
CMD ["gateway"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue