gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitcd39f3d3cd39f3d3log: hybriel#308mrecd39f3d3/docker-compose.yml

3.6 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_URL=https://tracker.worldapi.org
  39. - IDENT_URL=https://ident.worldapi.org
  40. - TRACKER_WATCH=0
  41. # mission 070: Hybriel 8efba065 (#126) collects garbage every 64 MiB of plugin data (its default, kept): RSS after boot ~2 GB,
  42. # peak during the first-start jobs see STATUS mission 070. HL_GC_BYTES=268435456 made /my/unwatched 2 s instead of ~5 s but
  43. # the jobs reached 12+ GB (like the old binary) — not set. README "Config" (HL_GC_BYTES).
  44. env_file:
  45. - .env
  46. volumes:
  47. - ./:/home/tracker
  48. command: ["sh", "-c", "trap '' PIPE; exec ./bin/hybriel project.hl"] # TR7, see above
  49. # STANDBY (deploys without a gap): the same image and the same bind mount, on port 45018 (= main port + 10). nginx lists it as the
  50. # `backup` server of the tracker upstream, so it only gets requests while 45008 is down. The profile keeps `docker compose up -d`
  51. # from starting it; ../worldapi-conductor/standby-swap.sh starts it for a deploy and stops it again. All background jobs are off
  52. # (no daily sync, backfills, merges, id or franchise seeds): the main container alone runs them, so the two never write the same
  53. # records for the same reason. The standby only answers requests.
  54. tracker-standby:
  55. <<: *tracker-common
  56. container_name: tracker.worldapi.org-standby
  57. profiles: ["standby"]
  58. restart: "no"
  59. environment:
  60. - HL_HOST=127.0.0.1
  61. - TRACKER_PORT=45018
  62. - HL_GC_TABLE_LOAD=62
  63. - HL_GC_STATS=1 # GC stats in the log (Apollo 2026-11-03, stall diagnosis)
  64. - TRACKER_URL=https://tracker.worldapi.org
  65. - IDENT_URL=https://ident.worldapi.org
  66. - TRACKER_WATCH=0
  67. - TRACKER_SYNC=0
  68. - TRACKER_BACKFILL=0
  69. - TRACKER_REPAIR=0
  70. - TRACKER_KINDS=0
  71. - TRACKER_CREDITS=0
  72. - TRACKER_MERGE=0
  73. - TRACKER_SHORTIDS=0
  74. - TRACKER_COLLECTIONS=0
  75. - TRACKER_FRANCHISE_SEED=0
  76. - TRACKER_ART=0
  77. - TRACKER_PHOTOS=0

Branches

Latest commits

  • cd39f3d3log: hybriel#308mre
  • 51341d6elog: RV39 deploy startedmre
  • c9e29e06Merge branch 'rv39'mre
  • 0f8d1fdclog: RV39 report, browser 387/2mre
  • 50249b0bRV39: reportmre
  • 10ed9581compose: HL_GC_STATS=1mre
  • 955da19bRV39: re-vendor Hybriel set day39 (source 51e921d7, bin 6b481aa7)mre
  • 64b8d1dclog: RV39 startedmre
  • 1f2df72amission RV39mre
  • 6c1936f9log+status: GC planmre
  • 2846a840log: m569 result, GC hypothesismre
  • b24cd2d5log: Anton on hl:fetch, mission 569mre
  • 7d42cac1log+status: SL1 measured, fetch stalls remainmre
  • 8e5f2ceflog: SL1 deployedmre
  • 29f34212log: SL1 deploy startedmre
  • 529dd741Merge sl1-slices: slice details repair and person fill (SL1)mre
  • 8a83316blog: SL1 result, session drain slowermre
  • 35e93e8dSL1: slice the details repair and person fill: catalog lists changed in place, 40 ms fill steps, people created in steps, writes one table per tickmre
  • 72c9119flog+status: SL1 startedmre
  • d74620fcmission SL1: slice repair and person fillmre