mirror of
https://github.com/tiennm99/caro.git
synced 2026-05-14 02:57:42 +00:00
cbad690565
Phase 05 — sync infrastructure and documentation with the typed-protobuf refactor: - docker-compose.yml: drop 1024/1025 mappings, single "1999:1999" - server/Dockerfile: EXPOSE 1999, -p 1999 entrypoint - README.md: rewrite transport description, architecture diagram, protocol section, server options, project structure, add proto:gen script note - docs/project-overview.md: update transport + dependencies sections - docs/system-architecture.md: rewrite diagrams + pipeline + file inventory for the WebSocket-only typed-dispatch path - docs/codebase-summary.md: refresh file tree, java package inventory, gradle deps, vite deps, networking and game-flow sections - docs/deployment-guide.md: single-port walkthrough for local / docker / systemd / nginx; remove all 1024/1025 firewall and troubleshooting - docs/code-standards.md: replace dead ServerEventListener_CODE_* class-name example, fix sample ws:// URL to port 1999
21 lines
414 B
YAML
21 lines
414 B
YAML
services:
|
|
server:
|
|
build:
|
|
context: .
|
|
dockerfile: server/Dockerfile
|
|
container_name: caro-server
|
|
ports:
|
|
- "1999:1999" # WebSocket (typed protobuf binary frames)
|
|
restart: unless-stopped
|
|
|
|
client:
|
|
build:
|
|
context: ./client
|
|
dockerfile: Dockerfile
|
|
container_name: caro-client
|
|
ports:
|
|
- "8080:80"
|
|
depends_on:
|
|
- server
|
|
restart: unless-stopped
|