GITLAB

陶汉栋 / MyCloud

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • mycloud
  • cloud
  • server2
  • src
  • main
  • resources
  • bootstrap.yml
  • 236a8188   注册服务增加bootstrap.yml,防止主动监听到8080端口 Browse Code »
    陶汉栋
    2020-02-28 09:34:43 +0800  
bootstrap.yml 308 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#端口
server:
  port: 8762
#  address: sincere.myjxt.com

#服务名称
spring:
  application:
      name: eureka-server2
  main:
    allow-bean-definition-overriding: true    
 

management:
  endpoints:
    web:
      exposure:
        include: "*"
  endpoint:
    health:
      show-details: always