|
@@ -1,6 +1,5 @@
|
|
|
# 服务设置
|
|
|
server:
|
|
|
- port: 11111
|
|
|
undertow:
|
|
|
io-threads: 2
|
|
|
worker-threads: 10
|
|
@@ -27,12 +26,6 @@ spring:
|
|
|
context-path: /admin
|
|
|
main:
|
|
|
allow-bean-definition-overriding: true
|
|
|
- thymeleaf:
|
|
|
- prefix: classpath:/html/
|
|
|
- cache: false
|
|
|
- encoding: utf-8
|
|
|
- servlet:
|
|
|
- content-type: text/html
|
|
|
|
|
|
mybatis-plus:
|
|
|
mapper-locations: classpath*:mapper/**/*.xml
|
|
@@ -61,12 +54,9 @@ eureka:
|
|
|
metadata-map:
|
|
|
startup: ${random.int}
|
|
|
tags: config
|
|
|
- ip-address: 127.0.0.1
|
|
|
client:
|
|
|
register-with-eureka: true
|
|
|
fetch-registry: true
|
|
|
- service-url:
|
|
|
- defaultZone: http://${eureka.instance.ip-address}:${server.port}/eureka/
|
|
|
registry-fetch-interval-seconds: 5
|
|
|
instance-info-replication-interval-seconds: 20
|
|
|
initial-instance-info-replication-interval-seconds: 45
|