bootstrap.yml 555 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # 服务端口号
  2. server:
  3. port: 11000
  4. spring:
  5. application:
  6. name: framework
  7. profiles:
  8. active: dev
  9. include: orm,cache.msg
  10. cloud:
  11. config:
  12. profile: dev
  13. discovery:
  14. enabled: true
  15. service-id: messager
  16. allow-override: true
  17. ---
  18. spring:
  19. profiles: dev
  20. eureka:
  21. instance:
  22. prefer-ip-address: true
  23. client:
  24. service-url:
  25. defaultZone: http://192.168.1.206:11001/eureka/
  26. ---
  27. spring:
  28. profiles: prod
  29. eureka:
  30. client:
  31. service-url:
  32. defaultZone: http://192.168.1.206:11001/eureka/