chenweida 7 anni fa
parent
commit
0fb716c739
6 ha cambiato i file con 13 aggiunte e 4 eliminazioni
  1. 8 0
      application.yml
  2. 1 1
      svr-base.yml
  3. 1 1
      svr-dashboard.yml
  4. 1 0
      svr-logServer.yml
  5. 1 1
      svr-quota.yml
  6. 1 1
      web-gateway.yml

+ 8 - 0
application.yml

@ -6,6 +6,14 @@ server:
  svr-quota-port: 10030
  svr-logServer-port: 9411
server:
  context-path:
    svr-dashboard-context-path: 9010
    svr-web-gateway-context-path: 8088
    svr-base-context-path: 10020
    svr-quota-context-path: 10030
    svr-logServer-context-path: 9411
#发现服务
eureka:
  client:

+ 1 - 1
svr-base.yml

@ -1,7 +1,7 @@
##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主
server:
  port: ${server.svr-base-port}
  context-path: ${server.context-path.svr-base-context-path}
spring:
  datasource:

+ 1 - 1
svr-dashboard.yml

@ -1,7 +1,7 @@
##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主
server:
  port: ${server.svr-dashboard-port}
  context-path: ${server.context-path.svr-dashboard-context-path}
spring:
  #从发现服务里面取配置服务的信息

+ 1 - 0
svr-logServer.yml

@ -1,6 +1,7 @@
##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主
server:
  port: ${server.svr-logServer-port}
  context-path: ${server.context-path.svr-logServer-context-path}

+ 1 - 1
svr-quota.yml

@ -1,7 +1,7 @@
##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主
server:
  port: ${server.svr-quota-port}
  context-path: ${server.context-path.svr-quota-context-path}
spring:
  datasource:

+ 1 - 1
web-gateway.yml

@ -1,7 +1,7 @@
##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主
server:
  port: ${server.web-gateway-port}
  context-path: ${server.context-path.svr-web-gateway-context-path}
eureka:
  client: