tracker
All repositories: gitoria
3.8 KB
# tracker.worldapi.org on Byrodin — house pattern of ident.worldapi.org / notes.worldapi.org:# ./Dockerfile = debian:12-slim + libssl3 + ca-certificates (bin/hybriel is a glibc binary,# needs GLIBC_2.36 = debian 12), host network, the app on 127.0.0.1:45008, nginx proxies it# and ends TLS (vhost /CONTAINERS/web/nginx/conf.d/worldapi.org/tracker.conf: WebSocket# Upgrade headers). The whole folder is the bind mount: .sessions/ and .env (this app's# ident API key + secret, registered once in ident's /apps — see README "Config") live here# and persist.# Deploy: ./deploy.sh on Loreana (README "Deploy").x-tracker-common: &tracker-commoninit: truebuild: .image: "worldapi-hybriel-runtime:debian12"working_dir: /home/trackernetwork_mode: hostulimits:nofile: { soft: 65536, hard: 65536 }env_file:- .envvolumes:- ./:/home/trackercommand: ["sh", "-c", "trap '' PIPE; exec ./bin/hybriel project.hl"] # TR7: ignore SIGPIPE (TLS resets killed the runtime, exit 141; reports/CL1-crash-loop.md)services:tracker:container_name: tracker.worldapi.orginit: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)build: .image: "worldapi-hybriel-runtime:debian12"working_dir: /home/trackernetwork_mode: hostrestart: unless-stoppedulimits:nofile: { soft: 65536, hard: 65536 } # the default soft limit 1024 refused boot (errno 24, 2026-10-22, Hybriel 528bc89f)environment:- HL_HOST=127.0.0.1- TRACKER_PORT=45008- 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)- HL_GC_STATS=1 # GC stats in the log (Apollo 2026-11-03, stall diagnosis)- TRACKER_QSTATS=1 # queue and cache sizes every 10 s (Apollo 2026-11-03, GC1; measurement only)- TRACKER_URL=https://tracker.worldapi.org- IDENT_URL=https://ident.worldapi.org- TRACKER_WATCH=0# mission 070: Hybriel 8efba065 (#126) collects garbage every 64 MiB of plugin data (its default, kept): RSS after boot ~2 GB,# peak during the first-start jobs see STATUS mission 070. HL_GC_BYTES=268435456 made /my/unwatched 2 s instead of ~5 s but# the jobs reached 12+ GB (like the old binary) — not set. README "Config" (HL_GC_BYTES).env_file:- .envvolumes:- ./:/home/trackercommand: ["sh", "-c", "trap '' PIPE; exec ./bin/hybriel project.hl"] # TR7, see above# STANDBY (deploys without a gap): the same image and the same bind mount, on port 45018 (= main port + 10). nginx lists it as the# `backup` server of the tracker upstream, so it only gets requests while 45008 is down. The profile keeps `docker compose up -d`# from starting it; ../worldapi-conductor/standby-swap.sh starts it for a deploy and stops it again. All background jobs are off# (no daily sync, backfills, merges, id or franchise seeds): the main container alone runs them, so the two never write the same# records for the same reason. The standby only answers requests.tracker-standby:<<: *tracker-commoncontainer_name: tracker.worldapi.org-standbyprofiles: ["standby"]restart: "no"environment:- HL_HOST=127.0.0.1- TRACKER_PORT=45018- HL_GC_TABLE_LOAD=62- HL_GC_STATS=1 # GC stats in the log (Apollo 2026-11-03, stall diagnosis)- TRACKER_QSTATS=1 # queue and cache sizes every 10 s (Apollo 2026-11-03, GC1; measurement only)- TRACKER_URL=https://tracker.worldapi.org- IDENT_URL=https://ident.worldapi.org- TRACKER_WATCH=0- TRACKER_SYNC=0- TRACKER_BACKFILL=0- TRACKER_REPAIR=0- TRACKER_KINDS=0- TRACKER_CREDITS=0- TRACKER_MERGE=0- TRACKER_SHORTIDS=0- TRACKER_COLLECTIONS=0- TRACKER_FRANCHISE_SEED=0- TRACKER_ART=0- TRACKER_PHOTOS=0
Branches
Latest commits
- c21aff6bMerge branch 'records-hm55c' into mainTracker
- 9ba258d3|||PR records: HM55b resultTracker
- 64f2d300Merge branch 'records-hm55b2' into mainTracker
- ae3b80dc|||PR records: HM55b briefTracker
- 7ef3cb3bMerge branch 'records-st55' into mainTracker
- fec2e080|||PR records: STATUS HM55Tracker
- 8e174918Merge branch 'records-hm55b' into mainTracker
- b1ecee57|||PR records: HM55 stateTracker
- 28eab08cMerge branch 'records-hm55' into mainTracker
- d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
- 3059f86cMerge branch 'records-design-rule' into mainTracker
- 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
- d1390692Merge branch 'records-dp75b' into mainTracker
- a4d1a7d2|||PR records: later steps checked, branch auditTracker
- e070e16fMerge branch 'records-dp75' into mainTracker
- 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker
- b9c7c3c8Merge branch 'records-dp74' into mainTracker
- 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker