区分环境
This commit is contained in:
20
apps/api/etc/api-api.dev.yaml
Normal file
20
apps/api/etc/api-api.dev.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
Name: api-api
|
||||
Host: 0.0.0.0
|
||||
Port: 10003
|
||||
DataSource: "tianyuanapi:g3h98u0291j@tcp(127.0.0.1:3307)/tianyuanapi?charset=utf8mb4&parseTime=True&loc=Local"
|
||||
CacheRedis:
|
||||
- Host: "127.0.0.1:6379"
|
||||
Pass: "" # Redis 密码,如果未设置则留空
|
||||
Type: "node" # 单节点模式
|
||||
SentinelRpc:
|
||||
Etcd:
|
||||
Hosts:
|
||||
- 127.0.0.1:2379
|
||||
Key: sentinel.rpc
|
||||
KqPusherConf:
|
||||
Brokers:
|
||||
- 127.0.0.1:9092
|
||||
Topic: apirequest
|
||||
WestConfig:
|
||||
Key: "121a1e41fc1690dd6b90afbcacd80cf4"
|
||||
SecretId: "449159"
|
||||
Reference in New Issue
Block a user