chore: remove proto codegen from prod Dockerfiles

This commit is contained in:
2026-08-17 14:13:51 +08:00
parent c7395c2fdb
commit a50402049b
5 changed files with 6 additions and 44 deletions
+2 -4
View File
@@ -31,7 +31,6 @@ pkg/
mq/ — MQ interface + RabbitMQ impl
cache/ lock/ key/ — shared cache keys, distributed lock, cache helpers
errs/ constant/ — shared errors and constants
gen/ — GENERATED protobuf Go stubs (gitignored)
```
## Build & Run
@@ -79,11 +78,10 @@ Workers are separate binaries with their own bootstrap chains.
- **Consul**: required — `RequireConsulEnabled` fatals if disabled
- **MQ**: RabbitMQ via `pkg/mq`; workers consume topics registered through `mq_service`
## Protobuf Codegen
## Protobuf
Single proto: `proto/yoresee_doc/v1/yoresee_doc.proto`
Generated Go code: `pkg/gen/` (gitignored)
Regenerate: `bash deploy/script/gen_proto.sh` (from repo root)
Consumes Go stubs (`yoreseedocpb`) from `git.yoresee.cc/YoreseeDoc/yoresee_doc_sdk_go`, pinned to tag `v0.1.0`. No local codegen. Regenerate and publish the SDK after editing the `.proto` file.
## Health Endpoints