Commit Graph

1258 Commits

Author SHA1 Message Date
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
f49972ff26 Merge pull request #2 from cloud-neutral-toolkit/fine-tune-dockerfile-entrypoint-4806566025323220590
Fix: Improve entrypoint script and Dockerfile for Cloud Run deployment
2026-01-21 17:01:09 +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
71300d1b51 Merge pull request #1 from cloud-neutral-toolkit/fix-cloud-run-build-and-startup-3517540955516058013
Fix Cloud Run build failure and stunnel startup issues
2026-01-21 15:59:28 +08: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
7f6fe07f7f fix: update sql module imports 2026-01-16 16:20:06 +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
Haitao Pan
b2cc2b1dad chore: move account sql assets and update migrate docs 2026-01-16 11:47:10 +08:00
Haitao Pan
bececb69ac chore: update repo content and deployment/docs assets 2026-01-16 00:20:54 +08:00
a2329c5735 Initialize neurapress package exports (#795) 2025-12-14 21:22:08 +08:00
0134653705 Add NeuraPress submodule metadata (#794) 2025-12-14 21:01:34 +08:00
40ca789db5 Revert "Add NeuraPress shim package (#792)" (#793)
This reverts commit 5d44ebfd6f.
2025-12-14 20:25:32 +08:00
5d44ebfd6f Add NeuraPress shim package (#792) 2025-12-14 20:23:17 +08:00
Haitao Pan
50b7578252 chore(neurapress): relocate neurapress into dashboard sub-package 2025-12-14 19:48:40 +08:00
e5669b48de Add entrypoint for neurapress local package (#791) 2025-12-14 19:40:24 +08:00
Haitao Pan
e3bf8d1762 chore(neurapress): sync packages/neurapress with upstream source 2025-12-14 17:34:00 +08:00
be795498b9 chore: move neurapress to internal package (#786) 2025-12-14 17:30:15 +08:00
7ffd5a5a67 Make neurapress client-only entrypoint (#784) 2025-12-14 16:52:29 +08:00
390e9be8ff Add NeuraPress vendor entry point for editor (#783) 2025-12-14 16:10:35 +08:00
Haitao Pan
e76285d810 dashboard: move neurapress/ -> vendor/neurapress/ 2025-12-14 16:00:04 +08:00
ee20a2eac1 Highlight NeuraPress core in editor page (#782) 2025-12-14 15:57:06 +08:00
7084c47573 Make editor editor page client component (#781) 2025-12-14 15:34:41 +08:00
b7ae354ca1 Align dashboard Makefile build with Dockerfile (#780) 2025-12-14 15:17:31 +08:00
Haitao Pan
6426cce823 chore(dashboard): switch yarn registry to npmmirror; tidy Makefile; fix next-env types path 2025-12-14 14:50:45 +08:00
058336c0ea Add vendored neurapress editor shell (#779) 2025-12-14 14:39:17 +08:00
Haitao Pan
7c6876247c add markdown editor base opensource neurapress 2025-12-14 14:02:10 +08:00
Haitao Pan
c7a15de84d chore(docker-compose): switch images to cloudneutral namespace 2025-12-14 13:58:10 +08:00
dd1543e86f Add XControl image readiness check workflow (#778) 2025-12-12 16:05:50 +08:00
00ebe70f82 Update dashboard lockfile for Yarn 4.12 (#777) 2025-12-12 15:28:15 +08:00
4721a065ec Fix xcontrol-init build context in workflow (#776) 2025-12-12 15:07:55 +08:00
554ea7bf8b Adjust xcontrol-init build context (#775) 2025-12-12 14:58:39 +08:00
fc02230e53 Fix xcontrol-init Dockerfile build context (#774) 2025-12-12 14:21:12 +08:00
Haitao Pan
3722aa302d refactor(xcontrol-init): clean up Dockerfile build context 2025-12-12 13:51:43 +08:00
dependabot[bot]
b505c0dd00 build(deps): bump next from 16.0.7 to 16.0.9 in /dashboard (#773)
Bumps [next](https://github.com/vercel/next.js) from 16.0.7 to 16.0.9.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v16.0.7...v16.0.9)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.0.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-12 13:42:19 +08:00
Haitao Pan
43e8cf927a feat: add Dockerfile for XControl Init service 2025-12-11 16:09:19 +08:00
6b3f7608b9 Revert "Add GCP Terraform config templates (#769)" (#770)
This reverts commit e496fa9319.
2025-12-08 18:03:51 +08:00
a49f03f300 Update footer social links (#771) 2025-12-08 17:56:26 +08:00
Haitao Pan
d9c5a3ee8c chore(ci): update default Docker Hub namespace to "cloudneutral" 2025-12-08 17:18:45 +08:00
e496fa9319 Add GCP Terraform config templates (#769) 2025-12-08 15:51:08 +08:00
Haitao Pan
344362d01e deploy(docker-compose): switch images to Docker Hub namespace 2025-12-06 23:25:37 +08:00
Haitao Pan
172ff17512 refactor(ci): simplify DockerHub push logic to always publish using 'latest' tag 2025-12-06 23:11:09 +08:00
Haitao Pan
97ee055c69 fix(ci): add fallback to 'latest' when TAG_NAMES is empty in DockerHub push logic 2025-12-06 23:00:57 +08:00
Haitao Pan
0cf1dd9b04 ci: unify DockerHub retag/push logic across base and service image workflows 2025-12-06 22:50:28 +08:00
Haitao Pan
6a5a593bac build(ci): unify push_images logic and add global PUSH_IMAGES env 2025-12-06 22:31:46 +08:00
Haitao Pan
7068c7c964 refactor(ci): unify build job names and split security stage for base and service workflows 2025-12-06 22:26:35 +08:00
Haitao Pan
ee7738222d feat(ci): add Docker Hub namespace support and push steps to base image workflow 2025-12-06 22:11:21 +08:00
Haitao Pan
8dc9a62e76 feat(ci): add Docker Hub namespace support and push workflow 2025-12-06 22:03:02 +08:00
Haitao Pan
33a6dd8d44 deploy: remove init service and drop unused workspace volume bindings 2025-12-06 21:21:40 +08:00