events-server-web keeps the latest state of every building in memory (read
from the map-chunk-entity topic, like the resource patches) and serves them
per area. The web map draws the icons at their real size onto canvas tiles,
so large bases stay fast, and shows each building's name, status and health
on hover. Ghosts are ignored, and buildings are removed when they're mined.
The icons belong to Wube and the mod authors, so they aren't in the repo.
export_building_icons.py builds them from a Factorio client's
--dump-data/--dump-prototype-locale/--dump-icon-sprites output, and the
web-map nginx serves them from a mounted volume.
Also label single-well oil fields "1 well".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Getting the backend running locally in Docker surfaced several issues:
- geedeecee: REGISTRY_HOST came from the unset Gradle property
'dockerContainerRegistryHost'. A missing value in a MapProperty makes
the whole map absent, so every generated .env was empty and all
docker-compose builds failed. Default it to 'localhost'.
- kafka image: dlcdn.apache.org only hosts current releases, so Kafka
3.3.1 404s. Use archive.apache.org. Replace the deprecated openjdk:11
base with eclipse-temurin:11-jre, bump the download stage from EOL
Debian 11 to 12, and drop 'COPY --chmod' so the image builds without
BuildKit/buildx.
- web-map: the map calls the API and websocket on its own origin
(/kafkatorio/...), which previously relied on an external reverse
proxy. Proxy /kafkatorio/ to events-server-web in the map's nginx so
one port serves everything, and publish that port in the example
platform compose file.
- docs: the example secret config mapped server IDs to descriptions,
but the schema is token (JWT 'sub') -> server ID, and both must match
[a-zA-Z0-9-_]. Descriptions with spaces crashed every service.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>