feature: Optimize the startup methods of multiple services#8
Merged
aide-cloud merged 4 commits intomainfrom Jan 6, 2026
Merged
feature: Optimize the startup methods of multiple services#8aide-cloud merged 4 commits intomainfrom
aide-cloud merged 4 commits intomainfrom
Conversation
- Update both Chinese and English README files to reflect the new MySQL version requirement (8.0+) for database storage mode - Add detailed docker-compose startup log example including service info and server listening addresses - Remove outdated version field from docker-compose.yml - Remove unused init.go file which contained redundant logger setup
Added new boolean flags `--use-database`, `--main-debug`, and `--main-use-system-logger` to the run command for enhanced configuration control. Updated Makefile to enable these flags by default in development mode. Refactored flag parsing to use `BoolVar` instead of `StringVar` for better type safety and clarity. Applied proper conversion between boolean and string representations when applying flags to bootstrap config.
Convert boolean flags for swagger and metrics enabling to string format for proper configuration handling in the bootstrap process. Also includes updates to dependencies in go.mod and go.sum files, including kratos, grpc, gorm, k8s, and other indirect dependencies.
- Remove MOON_RABBIT_ENABLE_CLIENT_CONFIG environment variable from .env.example, README.md, and config files - Update default server names from "rabbit" to "moon.rabbit" - Change default HTTP port from 8080 to 10080 - Change default gRPC port from 9090 to 10090 - Change default job port from 9091 to 10070 - Update client config generation to use "rabbit_config.yaml" as default - Add ETCD and Kubernetes config to client config - Refactor server startup logic to use new Engine pattern - Remove deprecated GenerateClientConfig function and related code - Add wire.go files for dependency injection in all service modules
jinronga
approved these changes
Jan 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.