Commit graph

18 commits

Author SHA1 Message Date
cae2eb09c6 Fix Docker image builds and local platform setup
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>
2026-10-12 17:27:11 +02:00
Adam
0044f0cb98 create and use APP_NAME, APP_GROUP in docker compose files 2022-10-04 22:27:43 +02:00
Adam
99d1f92bbb update docker image names to include REGISTRY_HOST, and group, and correct image name 2022-10-02 14:51:00 +02:00
Adam
b507081eac Render buildings and resources
- create LuaJsonList to handle empty Lua JSON lists being sent as empty objects
- fix exporting of resources and entities
- split up map tiles into different layer directories
- add 'chunk size' to MapChunkPosition
- move tests to correct packages
- bump tstl
- decrease tstl logging
- remove some defined, but unused, kafka topics
- syslog, rest, websocket servers & web-map: decrease logging
- webmap: add additional layers for buildings and resources
2022-07-16 23:11:40 +02:00
Adam
23dbbfee27 enable local port for Kafka UI 2022-06-26 15:32:08 +02:00
Adam
82ad2d2763 remove more unused Kafka Connect stuff 2022-06-26 14:57:43 +02:00
Adam Semenenko
cf5804b42d get traefik working 2022-06-25 13:42:50 +01:00
Adam Semenenko
82c8b9f25b add traefik nw to docker files 2022-06-23 23:00:42 +01:00
Adam
33d31bfbdd version bumps. Kotlin 1.7 and yarn.lock and others 2022-06-19 10:20:48 +02:00
Adam
24e4cdf329 bump kafka-ui version 2022-05-02 23:35:33 +02:00
Adam
d85815d9e1 disable kafka monitoring containers (I'm not really using them) 2022-04-24 18:58:05 +02:00
Adam
7e497ffd59 setup grafana, prometheus, jmx 2022-04-23 21:57:46 +02:00
Adam
ae893b6269 bump kafka-ui 2022-02-05 12:20:58 +01:00
Adam
f2ccbbd456 - factorio version bump
- mod: add a couple of commands for emitting chunks
- mod: decrease on_tick event rate
- mod: version bump typed-factorio, tstl
- kafka admin: decrease replication
- kafka admin: filter out existing-topics when creating
- events server: add more serdes, hopefully more performant than json
- events server: lots of work trying to improve performance...
- events server: increase tile size to 256
- events server: fix web-map-tile-image x/y location
- kafka: version bump
- kafka: increase default partition size
- kafka ui: version bump
-
2022-01-21 18:31:15 +01:00
Adam
3875b9c309 bump kafka-ui version 2022-01-08 14:03:16 +01:00
Adam
abada0bf4b mucking about trying to get camel-kafka-connect websockets working 2021-12-26 22:55:06 +01:00
Adam
42b60ac0c3 factorio -> event -> mod -> console -> kafka pipe -> kafka -> event processor working!!!!!!!!!!!!!!!!!! 2021-12-03 09:11:55 +01:00
Adam
7091f7648d - more tidying up
- setting up distribution plugin
- using more variables for mod config
2021-12-02 00:54:15 +01:00
Renamed from modules/infra-kafka-cluster/docker-compose.yml (Browse further)