dtgateway.yaml 547 B

123456789101112131415161718192021222324252627282930
  1. Name: dtgateway-api
  2. Host: 0.0.0.0
  3. Port: 1009
  4. Mode: dev
  5. Timeout: 0
  6. #100MB
  7. MaxBytes: 104857600
  8. #jwtAuth
  9. JwtAuth:
  10. AccessSecret: ae0536f9-6450-4606-8e13-5a19ed505da0
  11. AccessExpire: 31536000
  12. #日志配置
  13. Log:
  14. ServiceName: dtgateway-api
  15. Mode: console
  16. Level: error
  17. #rpc service
  18. #OrganizationRpcConf:
  19. # Endpoints:
  20. # - 127.0.0.1:1117
  21. # NonBlock: true
  22. # Timeout: 0
  23. OrganizationRpcConf:
  24. Timeout: 50000
  25. Target: k8s://gt-datacenter/organization-rpc-svc:1117 #goctl kube 默认生成的k8s yaml的serviceName: {rpc中定义的name}-svc