Commit d073b971 by Yuchao Shen

添加nsq队列配置服务

parent 6c6d4213
No preview for this file type
...@@ -6,18 +6,36 @@ mysqlDb: ...@@ -6,18 +6,36 @@ mysqlDb:
services: services:
courseAssignService: courseAssignService:
address: "0.0.0.0:80" address: "127.0.0.1:50002"
ssl:
pem: "./ssl/server.pem"
key: "./ssl/server.key"
api: api:
nwn: nwn:
findEduPack: "http://cuimengzhen.nwn.eoffcn.com/template/findEduPack/sign/6666" findEduPack: "http://cuimengzhen.nwn.eoffcn.com/template/findEduPack/sign/"
addStudent: "http://cuimengzhen.nwn.eoffcn.com/template/addStudent/sign/6666" addStudent: "http://cuimengzhen.nwn.eoffcn.com/template/addStudent/sign/"
education: education:
outline: "http://kh.alitest.eoffcn.com/api/outline" outline: "http://kh.alitest.eoffcn.com/api/outline"
automatic: "http://tss.alitest.eoffcn.com/api/automatic" automatic: "http://tss.alitest.eoffcn.com/api/automatic"
sso: sso:
getUserById: "http://passport.eoffcn.com/api/user/info/idkey" getUserById: "http://passport.test.eoffcn.com/api/user/info/idkey"
nwn:
appID: "bf2h3%^j?ljkj3706kji88697"
appKey: "jiaowu"
nsq:
nsqd:
address-main: "101.201.34.37:4150"
poolInterval: 30
metrics:
intervalRefresh: 60
intervalMonitor: 5
address: "http://101.201.34.37:4171/api/topics"
lookupd:
address: "101.201.34.37:4161"
poolInterval: 10
order:
topic: "open-course-topic"
channel: "open-course-channel"
consumer:
count: 2
changeOrder:
topic: "change-order-topic"
...@@ -3,4 +3,9 @@ directory=/user/local/projects/course-assign ...@@ -3,4 +3,9 @@ directory=/user/local/projects/course-assign
stdout_logfile=/user/local/projects/course-assign/course-assign-grpc.log stdout_logfile=/user/local/projects/course-assign/course-assign-grpc.log
stderr_logfile=/user/local/projects/course-assign/course-assign-grpc.error.log stderr_logfile=/user/local/projects/course-assign/course-assign-grpc.error.log
command=./course-assign serve -c ./development.yml command=./course-assign serve -c ./development.yml
[supervisord] [program:course-assign-nsq]
\ No newline at end of file directory=/user/local/projects/course-assign
stdout_logfile=/user/local/projects/course-assign/course-assign-nsq.log
stderr_logfile=/user/local/projects/course-assign/course-assign-nsq.error.log
command=./course-assign consumeOrder -c ./development.yml
[supervisord]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment