3 Star 0 Fork 0

思特沃克数字平台在线学习系统/tws-config-deployment

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tws-zuul-production.yml 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
review 提交于 2020-03-10 16:04 . [Xin]: replace ip with host env
spring:
servlet:
multipart:
max-file-size: 2048MB
max-request-size: 2048MB
file-size-threshold: 10MB
enabled: true
server:
port: 8000
zuul:
host: # 当没有用 ribbon 的时候,routes为url设置超时时间
connect-timeout-millis: 20000
socket-timeout-millis: 120000
routes:
notification-center:
path: /notification-center/**
url: http://${TWS_CONFIG_SERVER_HOST}:8087
user-center:
path: /user-center/**
url: http://${TWS_CONFIG_SERVER_HOST}:8080
auth-center:
path: /auth-center/**
url: http://${TWS_CONFIG_SERVER_HOST}:8085
practise-diary:
path: /practise-diary/**
url: http://${TWS_CONFIG_SERVER_HOST}:8086
organization-center:
path: /organization-center/**
url: http://${TWS_CONFIG_SERVER_HOST}:8081
quiz-center:
path: /quiz-center/**
serviceId: quizCenterUploadImage
program-center:
path: /program-center/**
serviceId: courseCenterUploadImage
diff-center:
path: /diff-center/**
url: http://${TWS_CONFIG_SERVER_HOST}:8093
courseCenterUploadImage:
ribbon:
NIWSServerListClassName: com.netflix.loadbalancer.ConfigurationBasedServerList
listOfServers: http://${TWS_CONFIG_SERVER_HOST}:8090
quizCenterUploadImage:
ribbon:
NIWSServerListClassName: com.netflix.loadbalancer.ConfigurationBasedServerList
listOfServers: http://${TWS_CONFIG_SERVER_HOST}:8088
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 130000
ribbon:
ConnectTimeout: 5000
ReadTimeout: 60000
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tws-system/tws-config-deployment.git
git@gitee.com:tws-system/tws-config-deployment.git
tws-system
tws-config-deployment
tws-config-deployment
master

搜索帮助