feat: transfer wowmine to neuro

This commit is contained in:
2026-11-20 10:52:59 +00:00
parent f69752dcc0
commit 53d4ecc2bf
66 changed files with 1319 additions and 425 deletions
+24 -16
View File
@@ -1,6 +1,16 @@
# WorldOfSosal live 3D map
# wowmine live 3D map
The website links to `/wowmine/map/` on `store.hectic-lab.com`.
The wowmine runtime rename was deployed on 2026-11-18. Renderer, space-guard
timer are active under their canonical names. Moving all
73,667 state entries preserved contents, inodes, ownership and modes; tile,
data and render-checkpoint files were retained. One renderer is active.
The public settings endpoint returns HTTP 200 with both map IDs. Initial
rendering continues; full coverage is not claimed. Evidence:
`/tmp/wowmine-rename/runtime-result.md` and `runtime-evidence/`.
The initial rollout below predates this rename; old evidence paths and
immutable store basenames remain historical.
The website links to `https://wowmine.bfs.band:8443/wowmine/map/` on neuro.
BlueMap 5.29 CLI reads the running server's saved world on neuro:
- `crafting_azeroth:azeroth`, displayed as **Азерот**.
@@ -17,11 +27,11 @@ empty; vertical walls can appear along incomplete coverage boundaries.
## Services and limits
`nixos/system/neuro/minecraft/bluemap.nix` defines
`worldofsosal-bluemap.service`. It uses Java 25, a pinned CLI JAR, two render
`wowmine-bluemap.service`. It uses Java 25, a pinned CLI JAR, two render
threads, a 3 GiB Java heap, 200% CPU quota, low CPU/I/O priority, and a 5 GiB
cgroup memory limit. Minecraft's server directory is mounted read-only in
the renderer's namespace. Its writable state lives exclusively under
`/var/lib/worldofsosal-bluemap`, with separate private data and public web roots.
`/var/lib/wowmine-bluemap`, with separate private data and public web roots.
The renderer watches region files, with a 60-second update cooldown and a
five-minute periodic region check. A full rescan is scheduled every 1440
@@ -32,13 +42,12 @@ A separate timer checks free disk space each minute and stops only BlueMap
below 20 GiB free. Free space must be restored before manually starting
BlueMap again. Minecraft is not stopped by this guard.
`nixos/system/hectic-lab/worldofsosal-map.nix` defines a persistent private SSH
forward using the existing root SSH alias `neuro`:
`nixos/system/neuro/wowmine-web.nix` serves the map through local nginx.
The former hectic-lab SSH proxy is retired:
```text
HTTPS /wowmine/map/
→ hectic-lab 127.0.0.1:18100
→ existing SSH transport
HTTPS :8443 /wowmine/map/
→ neuro nginx :443
→ neuro 127.0.0.1:8100
```
@@ -68,13 +77,12 @@ Map state is persistent and intentionally outside Git.
## Operations and verification
```sh
ssh neuro systemctl status worldofsosal-bluemap --no-pager
ssh neuro journalctl -u worldofsosal-bluemap -n 30 --no-pager
ssh neuro systemctl status worldofsosal-bluemap-space-guard.timer --no-pager
ssh neuro df -h /var/lib/worldofsosal-bluemap
ssh neuro du -sh /var/lib/worldofsosal-bluemap/web
ssh hectic-lab systemctl status worldofsosal-bluemap-proxy --no-pager
curl -fsS https://store.hectic-lab.com/wowmine/map/settings.json
ssh neuro systemctl status wowmine-bluemap --no-pager
ssh neuro journalctl -u wowmine-bluemap -n 30 --no-pager
ssh neuro systemctl status wowmine-bluemap-space-guard.timer --no-pager
ssh neuro df -h /var/lib/wowmine-bluemap
ssh neuro du -sh /var/lib/wowmine-bluemap/web
curl -fsS https://wowmine.bfs.band:8443/wowmine/map/settings.json
```
Actual geometry for both dimensions was inspected in a WebGL browser at phone