game-server icon indicating copy to clipboard operation
game-server copied to clipboard

求个dockerfile方便部署。

Open ghost opened this issue 7 years ago • 6 comments

RT

ghost avatar Aug 27 '17 13:08 ghost

I updated the sh file and create a Dockerfile for docker.

https://github.com/xzdbd/game-server

https://hub.docker.com/r/xzdbd/game-server/

Please try and let me know if you encounter any issue.

xzdbd avatar Sep 26 '17 10:09 xzdbd

@xzdbd thank you for your work! i'll try it ^_^

ghost avatar Sep 26 '17 13:09 ghost

@xzdbd 我觉得不太对,是不是应该用alpine的镜像? 还有是不是dockerfile里面应该指定端口为UDP?

ghost avatar Sep 26 '17 13:09 ghost

@eric21 从作者的脚本看,不支持alpine。只支持CentOS, Debian, Ubuntu。 另外,部署时将tcp和udp端口都expose出来即可。

xzdbd avatar Sep 27 '17 02:09 xzdbd

@xzdbd 好的,多谢指点。

ghost avatar Sep 27 '17 02:09 ghost

NAS 上部署了一个,给力

fejich avatar Oct 18 '17 16:10 fejich