Multi-stage build (rust:1-bookworm builder → debian:bookworm-slim runtime) for the `maestro-registry` binary. Uses BuildKit cargo cache mounts so subsequent rebuilds are fast. Defaults `MAESTRO_REGISTRY_BIND_ADDR=0.0.0.0:8080` so the container is reachable from a reverse proxy (Traefik, etc.) without any extra config. Operator supplies `MAESTRO_TOKEN` as a platform secret; with that set the binary needs no writable volume. `.dockerignore` keeps `target/`, `worktrees/`, `.git/`, docs, and the WIP `web/` out of the build context. Verified: docker build succeeds; `docker run -e MAESTRO_TOKEN=... -p 8080:8080 maestro-registry` boots and responds 200 on the cookie auth endpoint. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
target/
|
||||
worktrees/
|
||||
.git/
|
||||
.github/
|
||||
.claude/
|
||||
docs/
|
||||
web/
|
||||
*.md
|
||||
.env*
|
||||
Reference in New Issue
Block a user