2024-10-02 00:57:17 +08:00
|
|
|
Name: sentinel.rpc
|
|
|
|
ListenOn: 0.0.0.0:11002
|
|
|
|
Etcd:
|
|
|
|
Hosts:
|
2024-10-02 11:27:51 +08:00
|
|
|
- tyapi_etcd:2379
|
2024-10-02 00:57:17 +08:00
|
|
|
Key: sentinel.rpc
|
2024-10-02 11:27:51 +08:00
|
|
|
DataSource: "tianyuanapi:g3h98u0291j@tcp(tyapi_mysql:3306)/tianyuanapi?charset=utf8mb4&parseTime=True&loc=Local"
|
2024-10-02 00:57:17 +08:00
|
|
|
CacheRedis:
|
2024-10-02 11:27:51 +08:00
|
|
|
- Host: "tyapi_redis:6379"
|
2024-10-02 00:57:17 +08:00
|
|
|
Pass: "" # Redis 密码,如果未设置则留空
|
|
|
|
Type: "node" # 单节点模式
|