tianyuan-api-server/apps/api/etc/api-api.yaml

20 lines
518 B
YAML
Raw Normal View History

2024-10-02 00:57:17 +08:00
Name: api-api
Host: 0.0.0.0
Port: 10003
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" # 单节点模式
SentinelRpc:
Etcd:
Hosts:
2024-10-02 11:27:51 +08:00
- tyapi_etcd:2379
2024-10-02 00:57:17 +08:00
Key: sentinel.rpc
KqPusherConf:
Brokers:
2024-10-02 11:27:51 +08:00
- tyapi_kafka:9092
2024-10-02 00:57:17 +08:00
Topic: apirequest
WestConfig:
key: "121a1e41fc1690dd6b90afbcacd80cf4"
secretId: "449159"