gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit716e14ff716e14ffident mission 013: browser gate — Bob signs out everywhere (no second code request)mre716e14ff/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

  • 716e14ffident mission 013: browser gate — Bob signs out everywhere (no second code request)mre
  • 5885f1c9ident mission 013 step 2: stopgap reload removed (in-place sign-in/out reach the shell via emit, notices back, route-marked main menu), gates updatedmre
  • 734ac0a9ident mission 013 step 1: re-vendor Hybriel ce6f2e0a (plugins whole; bin/ is git-ignored)mre
  • b37875ccident mission 012 part 3: real-Chrome fixes (brand 44 px, identity form width), e2e walk, report, logmre
  • f989c2ebident mission 012: stopgap reload after in-place sign-in/sign-out (until hybriel#193), gates wait for cold start, welcome end reloadsmre
  • 443291d4ident mission 012: /start on its own shell (no account), browser gate 152/0, reportmre
  • 021dd0fcident mission 012: browser gate waits cold start (IDENT_COLD_MS), header selectors, e2e checks; shell events from a page do not reach it (probe), current not marked, account-bar link 44 pxmre
  • 97f77b07ident mission 012 (WIP): onto the layouts theme dbe3de7, shell on AppHeader/MainMenu/UserMenu/Sidebar + ContentFirst, styles cut, check-theme gatemre
  • 8e4f435bpaths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • fa288f63ident mission 011: report wording (Intl zone names)mre
  • 961fae01ident mission 011: report, LOG, STATUSmre
  • 65348039ident#7: delivery gate — console check split at the gate's own server restart (49 checks)mre
  • dfa7b783ident#7: README (Delivery, env, gate, files, data), deploy.sh runs tests/delivery.mjsmre
  • ab6331f4ident#7: tests/delivery.mjs — fake clock gate: Vienna/New York/Tokyo/UTC 17:00, urgent, mail off, restart, DST days, zone changemre
  • 7869f57bident#7: delivery — the daily mail at 17:00 in the user's zone (digests table, once per local day, test clock IDENT_TEST_CLOCK), urgent mailed at once, push hookmre
  • 371ef1b5ident#7: lib/mail.hl sendNotificationMail (sink: <sink>.mail, one JSON line per mail)mre
  • 39749e0bident#7: time zones through hl:time — server checks isZone, an account without a known zone reads as UTC, allAccountsmre
  • 7a54fe72mission brief 011mre
  • a6a874cdident mission 010: vendor hybriel 0f396652 (plugins + compose cache volume/tmpfs + deploy URL wait + report)mre
  • 4e7cf78emission brief 010mre