- Clear default passwords in all service configs and local dev YAMLs
- Add entrypoint.sh with envsubst to resolve ${ENV} vars in go-zero YAML
- Update Dockerfiles to install gettext and use entrypoint
- Update docker-compose to pass secrets via environment and require via ${VAR:?...}
- Add .gitignore rules for .env files, add .env.example template
Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
445 B
YAML
20 lines
445 B
YAML
# Local development config — fill in DataSource before running locally.
|
|
# For Docker deployment, see deploy/etc/system.yaml (uses envsubst).
|
|
Name: system.rpc
|
|
ListenOn: 0.0.0.0:9001
|
|
|
|
Etcd:
|
|
Hosts:
|
|
- 127.0.0.1:2379
|
|
Key: system.rpc
|
|
|
|
DataSource: root:your_password@tcp(127.0.0.1:3306)/muyu_wms?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai
|
|
|
|
Cache:
|
|
- Host: 127.0.0.1:6379
|
|
|
|
Log:
|
|
ServiceName: system-rpc
|
|
Mode: console
|
|
Level: info
|