gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit298785f2298785f2Tracker: CL1 startedmre298785f2/docker-compose.yml

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

Branches

Latest commits

  • 298785f2Tracker: CL1 startedmre
  • 36b22710Tracker: port slot, CL1 briefmre
  • a401190fTracker: GO for the crash loopmre
  • e195d372Tracker: token pathsmre
  • 7f541d11Tracker conductor: CONDUCTOR.md, short STATUS.md, old status + decisions archive to archive/2026-10-31mre
  • 8dd423f7README: login.js stays by caramboleyo's explicit rulemre
  • d8df1493tracker: standby service on port 45018 and a gap-free hand-over in deploy.sh step 4mre
  • 36dd1686ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • ff9b838etracker: the Ended status pill uses the same red as layouts (pill danger); gate updatedmre
  • 40d9719eTP2: LOG line and report for the tracker pillsmre
  • ab3f2ba5tracker: status, genres, TMDB/IMDb/TVDB/TVmaze links and list kinds use the theme's pill; dense season list with the season check centred on its title line; gates for bothmre
  • 521061d6tracker header on phones: signed in, the brand fits whole at 360 and 390 px (tighter gaps and side paddings, slightly smaller brand, narrow screens and signed in only); mobile gate checks itmre
  • 18114a53tracker: franchises gate waits for the signed-out selector instead of the removed Log in buttonmre
  • 08561d73ident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
  • 59ef1e4atests/browser: repair 'done' check counts the 404 titles the first run already finished (race: failed=1 when Bulk Film 79 ran before the restart)mre
  • 5925fc4dreports/MK-mobile.md: rebase update, gate countsmre
  • 6adbc7f0extlink badges: background-clip after the background shorthand (it reset the clip: the pills were 44 px tall); gates check the lookmre
  • 8d3b0f20widget: the franchise link's 44 px tap area no longer overlaps the Prequel/Sequel rowmre
  • 1d98dcfdbrowser gate: the badges' size check reads the padding box (the 44 px tap area is transparent border)mre
  • 2f9e29ffreports/MK-mobile.md, deploy.sh GATES: tests/mobile.mjs, theme check markermre