deploy: Dockerfile + Google Cloud Run recipe

Add a CGO-free static Dockerfile (distroless) and a one-shot Cloud Run
deploy recipe (deploy/gcp-cloudrun.sh + README): single-instance hub on
Cloud Run, metadata in Cloud SQL Postgres (the new `database` backend),
blobs/journals in a GCS bucket, config + DB password in Secret Manager,
least-privilege runtime service account.

Pinned to max-instances=1 (the current build assumes one writer). Verified
end to end against a live deployment.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R7Q9ZKSZRTdvrSJkYLUmYs
This commit is contained in:
Snow Lee
2026-07-10 08:51:55 -07:00
co-authored by Claude Opus 4.8
parent 62175e29a9
commit a9cc43354d
4 changed files with 231 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
.git
bdrive
deploy
example
website
*.md
.goreleaser.yaml
.claude
plugin
/private