bootstrap.yml 487 B

1234567891011121314151617181920212223
  1. server:
  2. port: 8201
  3. spring:
  4. application:
  5. name: wei-user
  6. cloud:
  7. consul:
  8. # consul的IP
  9. host: 192.168.11.128
  10. # consul启动端口
  11. port: 8500
  12. profiles:
  13. active: dev
  14. datasource:
  15. url: jdbc:mysql://192.168.11.128:3306/wei_user?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT
  16. username: root
  17. password: 123456
  18. redis:
  19. host: 192.168.11.128
  20. port: 6379