mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 10:35:44 +00:00
Add the new `webrtc.singlePort` config option which forces the WebRTC server to listen on this port only.
26 lines
688 B
YAML
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:
|