cloud-game/docker-compose.yml
sergystepanov 9acbecb813
WebRTC single port support (#354)
Add the new `webrtc.singlePort` config option which forces the WebRTC server to listen on this port only.
2021-11-02 17:05:31 +03:00

26 lines
688 B
YAML

version: '3'
services:
cloud-game:
build: .
image: cloud-game-local
container_name: cloud-game-local
environment:
- DISPLAY=:99
- MESA_GL_VERSION_OVERRIDE=3.3
- CLOUD_GAME_WEBRTC_SINGLEPORT=8443
- CLOUD_GAME_WEBRTC_ICEIPMAP=127.0.0.1
# - PION_LOG_TRACE=all
ports:
- 8000:8000
- 9000:9000
- 8443:8443/udp
command: >
bash -c "Xvfb :99 & coordinator --v=5 & worker --v=5"
volumes:
# keep cores persistent in the cloud-game_cores volume
- cores:/usr/local/share/cloud-game/assets/cores
- ${CLOUD_GAME_GAMES_PATH:-./assets/games}:/usr/local/share/cloud-game/assets/games
volumes:
cores: