cm-settings.yaml 968 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: ob-server-settings
  5. namespace: observe
  6. data:
  7. settings.yaml: |
  8. settings:
  9. application:
  10. mode: dev
  11. host: 0.0.0.0
  12. name: testApp
  13. port: 8000 # 服务端口号
  14. readtimeout: 1
  15. writertimeout: 2
  16. enabledp: false
  17. logger:
  18. path: temp/logs
  19. stdout: '' #控制台日志,启用后,不输出到文件
  20. level: trace
  21. enableddb: false
  22. jwt:
  23. secret: go-admin
  24. timeout: 3600
  25. database:
  26. driver: mysql
  27. source: root:pg3mfWRtYonekZWB@tcp(mysql.observe.svc.cluster.local:3306)/observe?charset=utf8&parseTime=True&loc=Local&timeout=1000ms
  28. gen:
  29. dbname: dbname
  30. frontpath: ../go-admin-ui/src
  31. extend: # 扩展项使用说明
  32. demo:
  33. name: data
  34. cache:
  35. memory: ''
  36. queue:
  37. memory:
  38. poolSize: 100
  39. locker:
  40. redis: