Pārlūkot izejas kodu

添加应用网关配置

laz 9 gadi atpakaļ
vecāks
revīzija
c86fa91270
2 mainītis faili ar 35 papildinājumiem un 9 dzēšanām
  1. 34 9
      ag-admin.yml
  2. 1 0
      application.yml

+ 34 - 9
ag-admin.yml

@ -1,17 +1,42 @@
logging:
  level:
    com:
      netflix: INFO
      
fast-dfs:
  pool:
    init-size: 5
    max-size: 20
    wait-time: 500
  connect-timeout: 2
  network-timeout: 30
  http:
    tracker-http-port: 80
    anti-steal-token: no
    secret-key: FastDFS1234567890
---
spring:
  profiles: dev
service-gateway:
  username: user
  password: eureka
  url: http://localhost:10000/api/v1.0/admin
  stdurl: http://localhost:10000/api/v1.0/admin/std
  versionurl: http://localhost:10000/api/v1.0/admin/version
  cdatypeurl: http://localhost:10000/api/v1.0/admin/cda_type
  stdsourceurl: http://localhost:10000/api/v1.0/admin/standard_source
---
spring:
  profiles: test
fast-dfs:
  tracker-server: 172.19.103.54:22122
---
spring:
  profiles: prod
  profiles: test
service-gateway:
  username: user
  password: eureka
  url: http://172.19.103.75:10000/api/v1.0/admin
  stdurl: http://172.19.103.75:10000/api/v1.0/admin/std
  versionurl: http://172.19.103.75:10000/api/v1.0/admin/version
  cdatypeurl: http://172.19.103.75:10000/api/v1.0/admin/cda_type
  stdsourceurl: http://172.19.103.75:10000/api/v1.0/admin/standard_source
fast-dfs:
  tracker-server: 172.19.103.13:22122

+ 1 - 0
application.yml

@ -1,5 +1,6 @@
#Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10180
ag-admin.server.port: 8080
svr-adaption.server.port: 10150
svr-app.server.port: 10160
svr-dict.server.port: 10050