32 lines
855 B
YAML
32 lines
855 B
YAML
Name: api-api
|
|
Host: 0.0.0.0
|
|
Port: 10003
|
|
DataSource: "tianyuanapi:g3h98u0291j@tcp(tyapi_mysql:3306)/tianyuanapi?charset=utf8mb4&parseTime=True&loc=Local"
|
|
CacheRedis:
|
|
- Host: "tyapi_redis:6379"
|
|
Pass: "" # Redis 密码,如果未设置则留空
|
|
Type: "node" # 单节点模式
|
|
SentinelRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- tyapi_etcd:2379
|
|
Key: sentinel.rpc
|
|
UserRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- tyapi_etcd:2379
|
|
Key: user.rpc
|
|
KqPusherConf:
|
|
Brokers:
|
|
- tyapi_kafka:9092
|
|
Topic: apirequest
|
|
WestConfig:
|
|
Url: "https://apimaster.westdex.com.cn/api/invoke"
|
|
Key: "121a1e41fc1690dd6b90afbcacd80cf4"
|
|
SecretId: "449159"
|
|
SecretSecondId: "296804"
|
|
YushanConfig:
|
|
ApiKey: "4c566c4a4b543164535455685655316c"
|
|
AcctID: "YSSJ843926726"
|
|
Url: "https://api.yushanshuju.com/credit-gw/service"
|