gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6e72f9d16e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre6e72f9d1/docker-compose.yml

3.8 KB

  1. # tracker.worldapi.org on Byrodin — house pattern of ident.worldapi.org / notes.worldapi.org:
  2. # ./Dockerfile = debian:12-slim + libssl3 + ca-certificates (bin/hybriel is a glibc binary,
  3. # needs GLIBC_2.36 = debian 12), host network, the app on 127.0.0.1:45008, nginx proxies it
  4. # and ends TLS (vhost /CONTAINERS/web/nginx/conf.d/worldapi.org/tracker.conf: WebSocket
  5. # Upgrade headers). The whole folder is the bind mount: .sessions/ and .env (this app's
  6. # ident API key + secret, registered once in ident's /apps — see README "Config") live here
  7. # and persist.
  8. # Deploy: ./deploy.sh on Loreana (README "Deploy").
  9. x-tracker-common: &tracker-common
  10. init: true
  11. build: .
  12. image: "worldapi-hybriel-runtime:debian12"
  13. working_dir: /home/tracker
  14. network_mode: host
  15. ulimits:
  16. nofile: { soft: 65536, hard: 65536 }
  17. env_file:
  18. - .env
  19. volumes:
  20. - ./:/home/tracker
  21. command: ["sh", "-c", "trap '' PIPE; exec ./bin/hybriel project.hl"] # TR7: ignore SIGPIPE (TLS resets killed the runtime, exit 141; reports/CL1-crash-loop.md)
  22. services:
  23. tracker:
  24. container_name: tracker.worldapi.org
  25. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  26. build: .
  27. image: "worldapi-hybriel-runtime:debian12"
  28. working_dir: /home/tracker
  29. network_mode: host
  30. restart: unless-stopped
  31. ulimits:
  32. nofile: { soft: 65536, hard: 65536 } # the default soft limit 1024 refused boot (errno 24, 2026-10-22, Hybriel 528bc89f)
  33. environment:
  34. - HL_HOST=127.0.0.1
  35. - TRACKER_PORT=45008
  36. - HL_GC_TABLE_LOAD=62 # Hybriel m406: GC object table swept in place at 5/8 load (real data T16: VmHWM 8.0 → 7.3 GB, RSS −0.5 GB, −8 % CPU, boot −35 s)
  37. - HL_GC_STATS=1 # GC stats in the log (Apollo 2026-11-03, stall diagnosis)
  38. - TRACKER_QSTATS=1 # queue and cache sizes every 10 s (Apollo 2026-11-03, GC1; measurement only)
  39. - TRACKER_URL=https://tracker.worldapi.org
  40. - IDENT_URL=https://ident.worldapi.org
  41. - TRACKER_WATCH=0
  42. # mission 070: Hybriel 8efba065 (#126) collects garbage every 64 MiB of plugin data (its default, kept): RSS after boot ~2 GB,
  43. # peak during the first-start jobs see STATUS mission 070. HL_GC_BYTES=268435456 made /my/unwatched 2 s instead of ~5 s but
  44. # the jobs reached 12+ GB (like the old binary) — not set. README "Config" (HL_GC_BYTES).
  45. env_file:
  46. - .env
  47. volumes:
  48. - ./:/home/tracker
  49. command: ["sh", "-c", "trap '' PIPE; exec ./bin/hybriel project.hl"] # TR7, see above
  50. # STANDBY (deploys without a gap): the same image and the same bind mount, on port 45018 (= main port + 10). nginx lists it as the
  51. # `backup` server of the tracker upstream, so it only gets requests while 45008 is down. The profile keeps `docker compose up -d`
  52. # from starting it; ../worldapi-conductor/standby-swap.sh starts it for a deploy and stops it again. All background jobs are off
  53. # (no daily sync, backfills, merges, id or franchise seeds): the main container alone runs them, so the two never write the same
  54. # records for the same reason. The standby only answers requests.
  55. tracker-standby:
  56. <<: *tracker-common
  57. container_name: tracker.worldapi.org-standby
  58. profiles: ["standby"]
  59. restart: "no"
  60. environment:
  61. - HL_HOST=127.0.0.1
  62. - TRACKER_PORT=45018
  63. - HL_GC_TABLE_LOAD=62
  64. - HL_GC_STATS=1 # GC stats in the log (Apollo 2026-11-03, stall diagnosis)
  65. - TRACKER_QSTATS=1 # queue and cache sizes every 10 s (Apollo 2026-11-03, GC1; measurement only)
  66. - TRACKER_URL=https://tracker.worldapi.org
  67. - IDENT_URL=https://ident.worldapi.org
  68. - TRACKER_WATCH=0
  69. - TRACKER_SYNC=0
  70. - TRACKER_BACKFILL=0
  71. - TRACKER_REPAIR=0
  72. - TRACKER_KINDS=0
  73. - TRACKER_CREDITS=0
  74. - TRACKER_MERGE=0
  75. - TRACKER_SHORTIDS=0
  76. - TRACKER_COLLECTIONS=0
  77. - TRACKER_FRANCHISE_SEED=0
  78. - TRACKER_ART=0
  79. - TRACKER_PHOTOS=0

Branches

Latest commits

  • 6e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre
  • 07a5c883HM65 report measured field projection and complete validationmre
  • 0eab858fRead only catalog date fields during the episode boot scanmre
  • d3179273log: HM65 hl:heap vendoringmre
  • cb78a1a0HM65 report missing heap diagnostic package with repromre
  • 89606a5cHM65 briefmre
  • 096ce0d4log: DP69 live on day48mre
  • b3d8a80bDP69 brief, RV48 mergedmre
  • ce6d7d32Merge rv48: Hybriel day48mre
  • 3da2ea86RV48: report day48 cold starts, gates and cleanupmre
  • 8d9ecdfeRV48: re-vendor Hybriel set day48 (source b6a8f429, bin 660a9524)mre
  • 4a802ae7status: RV48 runningmre
  • 0a5412b6RV48 brief, day48 outmre
  • 56665efelog: CB69 mergedmre
  • 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
  • e55b379dKeep shared app title independent of the route import graphmre
  • 9a99659blog: hybriel#334, batch waits for day48mre
  • 85fa6c9blog: CB68 result, CB69 startedmre
  • 2f07c1b7log: DP68 boot gate failed, CB68mre
  • 9652782dlog: HM59 merged, DP68 startedmre