laz 9 years ago
parent
commit
2e0474a629
1 changed files with 7 additions and 19 deletions
  1. 7 19
      application.yml

+ 7 - 19
application.yml

@ -1,5 +1,6 @@
#Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10180
app-admin.server.port: 8080
svr-adaption.server.port: 10150
svr-app.server.port: 10160
svr-dict.server.port: 10050
@ -15,7 +16,8 @@ svr-special-dict.server.port: 10180
svr-standard.server.port: 10040
svr-user.server.port: 10120
ag-ehr-platform.server.port: 443
ag-admin.server.port: 8080
ag-admin.server.port: 10000
#Application error definition, this file define common errors,
#if the error is used only in your application, please define it in your application configuration file.
@ -54,7 +56,11 @@ spring:
        - veth.*
        - vmnet.*
#Each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip"
eureka:
  instance:
    prefer-ip-address: false
  client:
    serviceUrl:
      defaultZone: http://${eureka-server-ip}/eureka/
@ -63,34 +69,16 @@ eureka:
spring:
  profiles: dev
#If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
#else the server must have host map.
eureka:
  instance:
    prefer-ip-address: false
eureka-server-ip: 192.168.1.220:8761
---
spring:
  profiles: test
#If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
#else the server must have host map.
eureka:
  instance:
    prefer-ip-address: true
eureka-server-ip: 172.19.103.73:8761
---
spring:
  profiles: prod
#If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
#else the server must have host map.
eureka:
  instance:
    prefer-ip-address: false
eureka-server-ip: 11.1.2.21:8761