mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-26 03:24:13 +00:00
* Add echo endpoint * Fix async * Use latency map * Only start webRTC after worker match * Experiment with Singapore server * Update comments
6 lines
352 B
Bash
Executable file
Vendored
6 lines
352 B
Bash
Executable file
Vendored
#!/bin/bash
|
|
docker build . -t cloud-game-local
|
|
docker stop cloud-game-local
|
|
docker rm cloud-game-local
|
|
# Overlord and worker should be run separately. Local is for demo purpose
|
|
docker run --privileged -d --name cloud-game-local -p 8000:8000 -p 9000:9000 cloud-game-local bash -c "cmd -overlordhost ws://localhost:8000/wso & cmd -overlordhost overlord"
|