winzik/compose.yaml
David Nurdin ffefc796f8 JumPHP: PHP framework for retro 2D games (desktop + WebAssembly)
Engine (tiles, collisions, entities, sound, menus, network), skeleton, Pong and
Breakout, Docker-only CLI bin/jumphp, FrankenPHP web server, AGENTS.md guide.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 18:11:08 +01:00

14 lines
560 B
YAML

# Services used by bin/jumphp. The desktop runtime and the engine are built by bin/jumphp (setup / engine:build).
services:
# multiplayer relay server: ws://localhost:8090/ws (bin/jumphp relay up)
relay:
build: docker/relay
image: jumphp/relay:dev
ports:
- "${JUMPHP_RELAY_PORT:-8090}:8090"
environment:
# optional TURN server for WebRTC behind strict NATs (see php-wasm-network server/README)
TURN_SECRET: "${TURN_SECRET:-}"
TURN_URLS: "${TURN_URLS:-}"
STUN_URLS: "${STUN_URLS:-}"
restart: unless-stopped