central-open-prod.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. server:
  2. port: 8080 #端口
  3. spring:
  4. cloud:
  5. # nacos
  6. nacos:
  7. discovery:
  8. register-enabled: true
  9. server-addr: nacos-server-hostname:8848
  10. username: nacos-prod
  11. password: centralprod
  12. namespace: a894fba3-ee6e-4dc7-938b-ad11112ccfa9
  13. circuitbreaker:
  14. sentinel:
  15. enabled: true
  16. sentinel:
  17. enabled: true
  18. transport:
  19. dashboard: sentinel-hostname:8858
  20. port: 8719
  21. datasource:
  22. ds-flow-rules:
  23. nacos:
  24. server-addr: nacos-server-hostname:8848
  25. username: nacos-prod
  26. password: centralprod
  27. namespace: 81037616-96ae-412c-a060-a633ba9731b9
  28. group-id: SENTINEL_GROUP
  29. data-id: ${spring.application.name}-flow-rules
  30. rule-type: flow
  31. data-type: json
  32. # 数据库配置
  33. datasource:
  34. url: jdbc:mysql://${ENV_DEFAULT_MYSQL_SERVER_ADDR}/central?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
  35. username: central
  36. password: central0510
  37. # rabbitmq配置
  38. rabbitmq:
  39. host: rabbitmq-hostname
  40. port: 5672
  41. username: central
  42. password: 240203qqqQQQWER
  43. # redis配置
  44. redis:
  45. host: redis-hostname
  46. port: 6379
  47. database: 0
  48. password: HorO9496sCopE
  49. clientName: ${spring.application.name}-redis
  50. # 日志配置
  51. logging:
  52. level:
  53. com:
  54. atmob:
  55. central: info