Commit cabc6d71 authored by 刘松's avatar 刘松

mongo bug fix & readme publish

parent e53cfe0c
......@@ -16,4 +16,4 @@ COPY . /usr/src/app
EXPOSE 9401
CMD node app.js
\ No newline at end of file
CMD npm run start
\ No newline at end of file
......@@ -10,5 +10,18 @@
项目启动
build npm run build
prod / npm run start
dev /node app
docker镜像
reg.yunpro.cn/wifi/prod-kouling-admin
访问地址
http://kouling-admin.v2.yoo.yunpro.cn/
admin账户
admin abc123(也是所有账户初始密码)
\ No newline at end of file
module.exports = {
host: '0.0.0.0',
port: process.env.PORT ? process.env.PORT : 9401,
mongo:'mongodb://user:password@mongo-gp-content-distribution-1.localhost:1302,mongo-gp-content-distribution-2.localhost:1302,mongo-gp-content-distribution-3.localhost:1302/distribution?replicaSet=gp-content-aiweibang'
mongo:'mongodb://user:password@mongo-gp-content-distribution-1.localhost:1302,mongo-gp-content-distribution-2.localhost:1302,mongo-gp-content-distribution-3.localhost:1302/taoarticle?replicaSet=gp-content-aiweibang'
};
\ No newline at end of file
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