1 Star 0 Fork 0

Chenyqiang/tensquare-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
manager-dev.yml 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
Chenyqiang 提交于 2019-01-15 20:18 +08:00 . 重命名文件manager.yml为manager-dev.yml
server:
port: 9011
spring:
application:
name: tensquare-manager
rabbitmq:
host: 192.168.217.130
eureka:
client:
service-url: #Eureka客户端与Eureka服务端进行交互的地址
defaultZone: http://127.0.0.1:6868/eureka/
instance:
prefer-ip-address: true #把自己的ip地址报告给Eureka(远程需要,本地测试没有问题)
zuul:
routes:
tensquare-article: #文章(名字随便取)
path: /article/** #配置路由规则
serviceId: tensquare-article #指定Eureka注册中心中的服务id
tensquare-base: #基础
path: /base/**
serviceId: tensquare-base
tensquare-friend: #交友
path: /friend/**
serviceId: tensquare-friend
tensquare-gathering: #活动
path: /gathering/**
serviceId: tensquare-gathering
tensquare-qa: #问答
path: /qa/**
serviceId: tensquare-qa
tensquare-recruit: #招聘
path: /recruit/**
serviceId: tensquare-recruit
tensquare-spit: #吐槽
path: /spit/**
serviceId: tensquare-spit
tensquare-user: #用户
path: /user/**
serviceId: tensquare-user
jwt:
config:
key: itcast #秘钥
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Chenyqiang/tensquare-config.git
git@gitee.com:Chenyqiang/tensquare-config.git
Chenyqiang
tensquare-config
tensquare-config
master

搜索帮助