Progr1mmer 6 anni fa
parent
commit
55dd45745d
1 ha cambiato i file con 16 aggiunte e 12 eliminazioni
  1. 16 12
      application.yml

+ 16 - 12
application.yml

@ -18,16 +18,6 @@ server:
    svr-configurations-context-path: /
    svr-iot-context-path: /
#发现服务
eureka:
  client:
    healthcheck:
      enabled: false #启动监控检查
    serviceUrl:
      defaultZone: http://${eureka-server}/eureka/
  instance:
    prefer-ip-address: false
#Actuator
management:
  security:
@ -69,14 +59,28 @@ yihu:
      advice:
        http: true
#发现服务
eureka:
  client:
    healthcheck:
      enabled: false #启动监控检查
    serviceUrl:
      defaultZone: http://${eureka.server.ip}/eureka/
  instance:
    prefer-ip-address: false
---
spring:
  profiles: jwdev
eureka-server: 172.19.103.33:8761
eureka:
  server:
    ip: 172.19.103.33:8761
---
spring:
  profiles: jwtest
eureka-server: 172.19.103.33:8761
eureka:
  server:
    ip: 172.19.103.33:8761