server.port=49001 # eureka spring.application.name=eureka-server #主机名 eureka.instance.hostname=eureka-server eureka.instance.prefer-ip-address=true #eureka.instance.instance-id=${eureka.instance.hostname}:${server.port} #eureka.instance.lease-renewal-interval-in-seconds=5 #eureka.instance.lease-expiration-duration-in-seconds=5 #服务注册中心的配置内容,指定服务注册中心的位置 eureka.client.service-url.defaultZone=http://10.0.0.153:49001/eureka/,http://10.0.0.152:49001/eureka/ #测试 #eureka.client.service-url.defaultZone=http://120.25.151.99:49001/eureka/ #是否向服务注册中心注册自己 eureka.client.register-with-eureka=true #是否检索服务 eureka.client.fetch-registry=true #Log levels (TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF) logging.level.root=INFO logging.level.org.springframework=INFO logging.level.org.springframework.web=INFO logging.level.org.mybatis=DEBUG logging.level.com.shawn=TRACE # File output logging.file.max-size=100MB logging.file.max-history=30 logging.file=/app/applogs/${spring.application.name}/${spring.application.name}.log