Skip to content

不同进程放在多个 Docker 容器内 #584

@DragonAura

Description

@DragonAura

Is your feature request related to a problem? Please describe.
现在的所有进程(Server, Client)都放在同一个 Docker 容器内运行,不利于内存限制、或者分开查看内存、CPU占用。

Describe the solution you'd like
可以通过在不同 Docker 容器内运行各个进程来解决。详情见下面的解决方案:
https://www.runoob.com/docker/docker-container-connection.html
即每一场比赛都创建一个 Network,各个 Client 连接到 Server。

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions