Commit f8bae178 by 李福中

更新镜像端口环境配置和ews.md文件

parent aeaaa2f5
...@@ -6,7 +6,7 @@ var http = require('http'), ...@@ -6,7 +6,7 @@ var http = require('http'),
env = process.env, env = process.env,
yaml = require('js-yaml'), yaml = require('js-yaml'),
engineConf = {}, engineConf = {},
serPort = parseInt(env["port.slbhttp0"] || env["port.NODE_PORT"] || env["NODE_PORT"] || 8080), serPort = parseInt(env["portslbhttp0"] || env["port.NODE_PORT"] || env["NODE_PORT"] || 8080),
workers = parseInt(env.WORKERS || 1); workers = parseInt(env.WORKERS || 1);
console.log("Server running at http://127.0.0.1:" + serPort); console.log("Server running at http://127.0.0.1:" + serPort);
......
...@@ -3,4 +3,10 @@ ...@@ -3,4 +3,10 @@
名称: REDIS_CONF 名称: REDIS_CONF
值: {"host":"xxx","password":"xxx","port":6379,"database":0} 值: {"host":"xxx","password":"xxx","port":6379,"database":0}
说明: Faye Redis JSON格式配置 说明: Faye Redis JSON格式配置
</pre> </pre>
\ No newline at end of file
打包聚石塔镜像:
docker build -t registry.acs.aliyun.com/1089176875114090/node_faye:v2 .
推送聚石塔镜像:
docker push registry.acs.aliyun.com/1089176875114090/node_faye:v2
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