Dev Stack on the R710
Since 2026-11-03 the development containers run on the home server galleon
(a Dell R710, 192.168.0.147, Ubuntu 24.04) instead of in Docker Desktop on
the development PC. The PC runs the Godot editor and client; the server runs
Postgres, the game server, admin, portal and docs, and the headless clients the
scripts/check_*.py checks start. It frees the PC of ~3 GB and the build and
test-client CPU, at the cost of slower steps: the R710's Xeon L5520s are about
half the speed of a desktop core.
How it is laid out
| Where | What |
|---|---|
~/ssdone/moondog-dev on galleon | A copy of the working tree, on SSD. The dev compose files bind-mount it, as they do the tree on the PC. |
Compose project moondog-mmo-engine | The same project and container names as on the PC, so the checks need no changes. uptime-kuma is not started there (port 3001 is taken). |
Docker context r710 on the PC | ssh://yarrbeard@192.168.0.147, key-based. docker --context r710 ..., or DOCKER_CONTEXT=r710 for a whole command. |
godot_client/.env on the PC | MOONDOG_PORTAL=http://192.168.0.147:8082, MOONDOG_HOST=192.168.0.147. Game traffic is UDP and cannot be tunnelled. |
The PC's own Docker stack is stopped, not removed: docker compose -f docker-compose.yml -f docker-compose.dev.yml start (and --profile game for
the game server) brings it back, with its data.
Day to day
Send your edits before restarting anything there:
py -3 scripts/sync_remote.py
It sends files changed since the last sync (--full for everything), deletes
there what was deleted here, and includes the env files and the editor's
import cache (godot_client/.godot/imported), which the checks' headless
clients need: they cannot import from scratch headless, as
models/tools/torch.blend needs Blender. Then restart as before, against the
server:
docker --context r710 compose -f docker-compose.yml -f docker-compose.dev.yml restart game-server
(Run from ~/ssdone/moondog-dev over ssh, or from the PC with the context;
restart needs no files. docker-compose.yml pins the project name,
moondog-mmo-engine, so no -p is needed: without it, compose run in
moondog-dev used to look for a project of that name and restart nothing.)
Running the checks
The checks mint tokens from http://localhost:8082, so forward the web ports
while they run:
ssh -N -L 8081:localhost:8081 -L 8082:localhost:8082 -L 8083:localhost:8083 yarrbeard@192.168.0.147
and run them with the context:
DOCKER_CONTEXT=r710 py -3 scripts/check_rope.py
If a check's client fails with missing textures or Terrain3D not found, its
copy at /tmp/npcverify-client in the game server container is stale (it is
copied once and reused): remove it with docker --context r710 exec moondog-mmo-engine-game-server-1 rm -rf /tmp/npcverify-client and run again.
The web pages are also reachable directly: admin, portal, docs.