bootstrap.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. server:
  2. port: 5002
  3. spring:
  4. application:
  5. name: pigx-activiti
  6. #配置中心
  7. cloud:
  8. config:
  9. fail-fast: true
  10. name: ${spring.application.name}
  11. profile: dev
  12. discovery:
  13. enabled: true
  14. service-id: pigx-config
  15. datasource:
  16. url: jdbc:mysql://114.116.21.191:3306/ac?characterEncoding=UTF-8&useSSL=false
  17. username: root
  18. password: Bjyjht2017!@#
  19. driver-class-name: com.mysql.jdbc.Driver
  20. activiti:
  21. check-process-definitions: false
  22. # 注册中心配置
  23. eureka:
  24. instance:
  25. prefer-ip-address: true
  26. client:
  27. service-url:
  28. defaultZone: http://pig:pig@192.168.0.20:1025/eureka/
  29. ## spring security 配置
  30. security:
  31. oauth2:
  32. client:
  33. client-id: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)
  34. client-secret: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)
  35. scope: server
  36. resource:
  37. token-info-uri: ${security.auth.server}/check_token
  38. auth:
  39. server: http://192.168.0.20:9999/auth/oauth
  40. # 加解密根密码
  41. jasypt:
  42. encryptor:
  43. password: pigx #根密码
  44. # redis 相关