Skip to content

feature: Optimize the startup methods of multiple services#8

Merged
aide-cloud merged 4 commits intomainfrom
feature/dev
Jan 6, 2026
Merged

feature: Optimize the startup methods of multiple services#8
aide-cloud merged 4 commits intomainfrom
feature/dev

Conversation

@aide-cloud
Copy link
Contributor

No description provided.

- 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
@aide-cloud aide-cloud merged commit 09ed933 into main Jan 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants