cloud-game/docker-compose.yml

21 lines
526 B
YAML
Vendored

version: '3'
services:
cloud-game:
build: .
image: cloud-game-local
container_name: cloud-game-local
privileged: true
environment:
- DISPLAY=:99
- MESA_GL_VERSION_OVERRIDE=3.3
# network_mode: "host"
command: >
bash -c "Xvfb :99 & coordinator --v=5 & worker --coordinatorhost localhost:8000"
ports:
- "8000:8000"
- "9000:9000"
- "3478:3478/tcp"
- "3478:3478/udp"
volumes:
- ${CLOUD_GAME_GAMES_PATH}:/usr/local/share/cloud-game/assets/games