- 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>
18 lines
216 B
YAML
18 lines
216 B
YAML
Name: inventory.rpc
|
|
ListenOn: 0.0.0.0:9002
|
|
|
|
Etcd:
|
|
Hosts:
|
|
- etcd:2379
|
|
Key: inventory.rpc
|
|
|
|
DataSource: ${MYSQL_DSN}
|
|
|
|
Cache:
|
|
- Host: redis:6379
|
|
|
|
Log:
|
|
ServiceName: inventory-rpc
|
|
Mode: console
|
|
Level: info
|