Commit Graph

10 Commits

Author SHA1 Message Date
Haitao Pan
1a9eaf13df fix: wait for stunnel before starting 2026-01-23 23:50:52 +08:00
Haitao Pan
e72b37e7be chore: adapt cloud run + stunnel client config 2026-01-23 23:32:41 +08:00
Haitao Pan
04e03ce488 reset accounts.svc.plus repo 2026-01-23 23:16:37 +08:00
Haitao Pan
267d795391 feat: add Cloud Run sidecar deployment for Stunnel and update client-side setup 2026-01-23 19:45:32 +08:00
Haitao Pan
15f966a29a 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
7661e5a23a merged 2026-01-23 17:35:18 +08:00
google-labs-jules[bot]
f32d7f7b5f 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]
38a5f3de9b 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
53f19c379f deployment with GitHub Actions, Stunnel for TLS database connections, and dynamic configuration injection. 2026-01-20 21:05:30 +08:00
Haitao Pan
07e31ff6bd 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