A docker image to run wee0 netty server.
464
wee0-server-netty run on docker.
docker run -d --name proj1 -v $(pwd):/wee0/works/p0 -p 9011:9998 -p 9012:9999 wee0/server-netty
curl http://127.0.0.1:9011/api/index
可以使用国内的加速器增加访问速度,加速器配置参考文档:http://guide.daocloud.io/dcs/docker-9153151.html
我的阿里云加速器地址:https://s4ko6z3s.mirror.aliyuncs.com
如果使用同一个浏览器同一个IP访问项目与ide会出现WSID数据串掉的情况,导致session数据丢失。
遇到这种问题有以下几种解决方案:
运行容器时加上参数:-e JAVA_OPTS='-Xmx1024m -Xms1024m'。
Content type
Image
Digest
Size
107.2 MB
Last updated
almost 8 years ago
docker pull wee0/server-netty