Commit Graph

12 Commits

Author SHA1 Message Date
Haitao Pan
9f6d7b2d7d feat(deploy): add single-node compose migration for accounts 2026-03-15 18:52:49 +08:00
Haitao Pan
31fac873ce feat: Default DB_HOST to 127.0.0.1 and DB_PORT to 15432 to ensure stunnel wait. 2026-01-31 13:36:28 +08:00
Haitao Pan
60a2490e86 fix: wait for stunnel before starting 2026-01-23 23:50:52 +08:00
Haitao Pan
62e037795d chore: adapt cloud run + stunnel client config 2026-01-23 23:32:41 +08:00
Haitao Pan
29ee491acf reset accounts.svc.plus repo 2026-01-23 23:16:37 +08:00
Haitao Pan
e0915541a7 feat: add Cloud Run sidecar deployment for Stunnel and update client-side setup 2026-01-23 19:45:32 +08:00
Haitao Pan
315517c047 fix: update entrypoint and config to bind to 0.0.0.0 for Cloud Run 2026-01-23 18:38:32 +08:00
Haitao Pan
3c5a018b63 merged 2026-01-23 17:35:18 +08:00
google-labs-jules[bot]
5226b2d9cf Fix: Improve entrypoint script and Dockerfile for Cloud Run deployment
- Update `entrypoint.sh` to support `DB_HOST`, `DB_PORT`, `DB_USER`, `DB_NAME` environment variables for dynamic DSN construction.
- Ensure proper escaping of special characters in `entrypoint.sh` when using `sed`.
- Update `Dockerfile` to accept `GOPROXY` build argument.
- Update `Dockerfile` to include `curl` in runtime image for debugging.
- Use `-ldflags="-s -w"` in `go build` to reduce binary size.
2026-01-21 08:49:49 +00:00
google-labs-jules[bot]
f4ec90bbfd Fix Cloud Run build and stunnel startup support
- Downgrade Go version from 1.25.1 to 1.24.0 in go.mod and Dockerfile to resolve build failure (Go 1.25 is not yet released).
- Add `netcat-openbsd` to Dockerfile runtime image to ensure `nc` command is available for health checks.
- Update `entrypoint.sh` to robustly wait for `stunnel` to start using `nc` loop, preventing app startup failure when DB TLS is enabled.
- Add explicit error handling in `entrypoint.sh` if `stunnel` fails to start within timeout.
2026-01-21 07:57:08 +00:00
Haitao Pan
19ab008c30 deployment with GitHub Actions, Stunnel for TLS database connections, and dynamic configuration injection. 2026-01-20 21:05:30 +08:00
Haitao Pan
ee6e1a6363 feat: move account service to repo root
# Conflicts:
#	account/Makefile
#	account/go.mod
#	docs/account-admin-settings.md
#	docs/account-svc-plus.md
2026-01-16 16:15:23 +08:00