gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita6a874cda6a874cdident mission 010: vendor hybriel 0f396652 (plugins + compose cache volume/tmpfs + deploy URL wait + report)mrea6a874cd/docker-compose.yml

1.5 KB

  1. # ident.worldapi.org on Byrodin — house pattern of notes.worldapi.org
  2. # (/CONTAINERS/projects/notes.worldapi.org): ./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:45002, nginx proxies
  4. # it and ends TLS (vhost /CONTAINERS/web/nginx/conf.d/worldapi.org/ident.conf: WebSocket
  5. # Upgrade headers + `proxy_set_header X-Client-IP $client_ip;` — the per-IP limit trusts
  6. # only that header). The whole folder is the bind mount: storage/mpackdb/, .sessions/ and
  7. # .env (SMTP settings, read from the working directory) live here and persist.
  8. # HYBRIEL COMPILES THE APP AT ITS START (hybriel#148): scratch files go to /tmp (a tmpfs), the build cache to
  9. # HL_CACHE_DIR = /root/.hybriel/cache in the named volume `hybriel-cache`, so a restart starts warm (~1 s); a new binary or
  10. # changed code compiles again (cold ~16 s).
  11. # Deploy: ./deploy.sh on Loreana (README "Deploy").
  12. services:
  13. ident:
  14. container_name: ident.worldapi.org
  15. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  16. build: .
  17. image: "worldapi-hybriel-runtime:debian12"
  18. working_dir: /home/ident
  19. network_mode: host
  20. restart: unless-stopped
  21. environment:
  22. - HL_HOST=127.0.0.1
  23. - IDENT_PORT=45002
  24. - IDENT_WATCH=0
  25. - IDENT_PUBLIC_URL=https://ident.worldapi.org
  26. - HL_CACHE_DIR=/root/.hybriel/cache
  27. volumes:
  28. - ./:/home/ident
  29. - hybriel-cache:/root/.hybriel
  30. tmpfs:
  31. - /tmp:exec,mode=1777
  32. command: ./bin/hybriel project.hl
  33. volumes:
  34. hybriel-cache:

Branches

Latest commits

  • a6a874cdident mission 010: vendor hybriel 0f396652 (plugins + compose cache volume/tmpfs + deploy URL wait + report)mre
  • 4e7cf78emission brief 010mre
  • e8b2b0f7docker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
  • 5fdbb6b2ident mission 009: report — scratch folder notemre
  • 74235815ident mission 009 (4/4): docs (README files map + same-output test, STATUS, LOG), report, tests/letcount.py + realdata-baseline/comparemre
  • fe183516ident mission 009 (3/4): let only where reassigned — 293 never-reassigned lets are plain declarations; kept: reassigned, loop bodies, names of a file member, a name declared twice in one function; same outputmre
  • d2e7f91bident mission 009 (2/4): one lib file per topic (login, accounts, identities, apps, invites, selector, notify + helpers, util), function routes as thin wrappers in lib/api.hl, project.hl = the map; same outputmre
  • 91017164ident mission 009 (1/4): file moves — the root .hl files into lib/ (api.hl → lib/api-helpers.hl), styles.hl → components/styles.hl; imports adjusted, no other changemre
  • f8bdcbc2ident: Hybriel master 06617221 (plugin allocators 3a781359 + 413f60e4, mpackdb 2cb7ae5e, http1 773de63e); all gates greenmre
  • ff78726cident: Hybriel master 190aa11d (fc838894 GC correctness, #127, #126 closure scopes); gates all greenmre
  • a3a7d21aident: Hybriel master 8efba065 (#126 GC by bytes, #48 lambda params copy); session-writing lambdas take &sessionmre
  • 98226b41antcolony#40: mission references point to the moved missionsmre
  • ff805b9aantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
  • 51a7bcdfident: Hybriel master 73267707 (#122); /code uses the new page() signature; pending address passed as parameter; once-checksmre
  • 836f644fident#24: installable app (manifest, service worker, data-free offline /start), own iconmre
  • 8bebbbf2deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
  • cc063ea2deploy.sh: never send .git or .gitignore to Byrodinmre
  • 81b15b7bState of 2026-09-27, before the move to gitoriamre