Frontend — чистый HTML/CSS/JS без сборки (резюме, проекты, игра-заглушки). Gameserver — C++ на uWebSockets (CMake FetchContent), протокол hello/lobby.list_rooms/error проверен end-to-end.
15 lines
210 B
YAML
15 lines
210 B
YAML
services:
|
|
nginx:
|
|
build:
|
|
context: .
|
|
dockerfile: nginx/Dockerfile
|
|
ports:
|
|
- "80:80"
|
|
depends_on:
|
|
- gameserver
|
|
|
|
gameserver:
|
|
build: ./gameserver
|
|
expose:
|
|
- "9001"
|