Commit c64cdc36 by 王昆

gsb

parent 4a7bf385
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Launch Program", "name": "Launch Program",
"program": "${workspaceFolder}/engine-product/main.js" "program": "${workspaceFolder}/esign-sve-merchant/main.js"
} }
] ]
} }
\ No newline at end of file
#!/bin/bash #!/bin/bash
FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2 FROM registry.cn-beijing.aliyuncs.com/hantang2/node105:v2
MAINTAINER jy "jiangyong@gongsibao.com" MAINTAINER jy "jiangyong@gongsibao.com"
ADD engine-product /apps/engine-product/ ADD esign-sve-merchant /apps/esign-sve-merchant/
WORKDIR /apps/engine-product/ WORKDIR /apps/esign-sve-merchant/
RUN cnpm install -S RUN cnpm install -S
CMD ["node","/apps/engine-product/main.js"] CMD ["node","/apps/esign-sve-merchant/main.js"]
......
...@@ -7,8 +7,8 @@ var ENVINPUT = { ...@@ -7,8 +7,8 @@ var ENVINPUT = {
REDIS_HOST: process.env.REDIS_HOST, REDIS_HOST: process.env.REDIS_HOST,
REDIS_PORT: process.env.REDIS_PORT, REDIS_PORT: process.env.REDIS_PORT,
REDIS_PWD: process.env.REDIS_PWD, REDIS_PWD: process.env.REDIS_PWD,
DB_NAME: process.env.ENGINE_PRODUCT_DB_NAME, DB_NAME: process.env.ESIGNSVEMERCHANT_DB_NAME,
REDIS_DB: process.env.ENGINE_PRODUCT_REDIS_DB, REDIS_DB: process.env.ESIGNSVEMERCHANT_REDIS_DB,
APP_ENV: process.env.APP_ENV ? process.env.APP_ENV : "dev" APP_ENV: process.env.APP_ENV ? process.env.APP_ENV : "dev"
}; };
...@@ -21,7 +21,7 @@ var settings = { ...@@ -21,7 +21,7 @@ var settings = {
cacheprefix: "sjb", cacheprefix: "sjb",
usertimeout: 3600, //单位秒 usertimeout: 3600, //单位秒
basepath: path.normalize(path.join(__dirname, '../..')), basepath: path.normalize(path.join(__dirname, '../..')),
port: process.env.NODE_PORT || 3300, port: process.env.NODE_PORT || 3303,
defaultPassWord: "987456", defaultPassWord: "987456",
paasUrl: function () { paasUrl: function () {
if (this.env == "dev") { if (this.env == "dev") {
......
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