49 lines
691 B
YAML
49 lines
691 B
YAML
Name: gateway-api
|
|
Host: 0.0.0.0
|
|
Port: 8888
|
|
Timeout: 120000
|
|
|
|
Auth:
|
|
AccessSecret: ${ACCESS_SECRET}
|
|
AccessExpire: 7200
|
|
DefaultTenantId: t_default_001
|
|
|
|
DataSource: ${MYSQL_DSN}
|
|
PostgresDataSource: ${POSTGRES_DSN}
|
|
|
|
SystemRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- etcd:2379
|
|
Key: system.rpc
|
|
NonBlock: true
|
|
|
|
InventoryRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- etcd:2379
|
|
Key: inventory.rpc
|
|
NonBlock: true
|
|
Timeout: 60000
|
|
|
|
PurchaseRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- etcd:2379
|
|
Key: purchase.rpc
|
|
NonBlock: true
|
|
Timeout: 60000
|
|
|
|
ProductionRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- etcd:2379
|
|
Key: production.rpc
|
|
NonBlock: true
|
|
Timeout: 60000
|
|
|
|
Log:
|
|
ServiceName: gateway-api
|
|
Mode: console
|
|
Level: info
|