Browse Source

工程首次提交

chenweida 8 years ago
parent
commit
9431d4eb9a
1 changed files with 0 additions and 48 deletions
  1. 0 48
      application.yml

+ 0 - 48
application.yml

@ -1,48 +0,0 @@
server:
  port: 1221
eureka:
  client:
    healthcheck:
      enabled: true #启动监控检查
  instance:
    #eurika使用IP不使用host
    prefer-ip-address: true
    #定制化在eurika中显示的名称
    instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
#security:
#  user:
#    name: jw
#    password:  jkzl
---
spring:
  profiles: dev
eureka:
  client:
    serviceUrl:
      defaultZone: http://jw:jkzl@127.0.0.1:8761/eureka
---
spring:
  profiles: test
eureka:
  client:
    serviceUrl:
      defaultZone: http://jw:jkzl@127.0.0.1:8761/eureka
---
spring:
  profiles: prod
eureka:
  client:
    serviceUrl:
      defaultZone: http://jw:jkzl@127.0.0.1:8761/eureka