fix: resolve first-boot smoke test failures for Task 11
- scripts/generate-secrets.sh: strip inline comments from .env values so GARAGE_RPC_SECRET (and others) are correctly detected as empty and regenerated on first run - docker/init-garage.Dockerfile: new multi-stage image that copies /garage binary into alpine, replacing the shell-less scratch image that had no /bin/sh - docker-compose.yml: change init-garage to use alpine:3.20 directly (garage CLI no longer needed; init script now calls HTTP admin API); add API_EXTERNAL_URL env var required by GoTrue v2 - docker/init-garage.sh: rewrite to use Garage v2 HTTP admin API (port 3903) instead of the RPC CLI, which required the server's node key; fixes both first-boot and idempotent restart; corrects endpoint names (GetKeyInfo, not GetKey; ListKeys for existence check)
| Repository | Lef-F/mike |
|---|---|
| Author | Lef <Lef-F@users.noreply.github.com> |
| Authored | |
| Parents | ee25d150 |
| Stats | 4 files changed , +70 , -32 |
| Part of | Self-host docker-compose stack |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-9613b6bd.md
from inside the repo you want the change in.