gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit5d8d2cf65d8d2cf6deploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre5d8d2cf6/docker-compose.yml

2.0 KB

  1. # tickets.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:45003, nginx proxies
  4. # it and ends TLS (vhost needs the WebSocket Upgrade headers: the live push rides `/`).
  5. # The whole folder is the bind mount: storage/mpackdb/ and .sessions/ live here and persist.
  6. # Deploy: ./deploy.sh on Loreana (README "Deploy").
  7. # HYBRIEL COMPILES THE APP AT ITS START (no interpreter since hybriel mission 326; hybriel#148): it writes scratch
  8. # files to /tmp (a tmpfs here) and its build cache to HL_CACHE_DIR (hybriel a832f73b, mission 332: run/ = the built
  9. # program, incr/ = the incremental stages, lib/ = the carried runtime library) = /root/.hybriel/cache, inside the named
  10. # volume `hybriel-cache`, so a restart starts warm (~1–3 s) and only a new binary or changed code compiles again (cold ~25 s).
  11. # LOGIN VIA IDENT (ticket #7): IDENT_API_KEY, IDENT_API_SECRET and TICKETS_CREATOR_IDENTITY come
  12. # from `.env` in this folder (the hybriel runtime loads a .env beside project.hl; the real
  13. # environment wins) — never written here. IDENT_URL / TICKETS_PUBLIC_URL default to the public
  14. # https origins. IDENT_EXCHANGE_URL: the server-side code exchange goes straight to ident's
  15. # loopback port (host network) instead of through Cloudflare + nginx.
  16. services:
  17. tickets:
  18. container_name: tickets.worldapi.org
  19. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  20. build: .
  21. image: "worldapi-hybriel-runtime:debian12"
  22. working_dir: /home/tickets
  23. network_mode: host
  24. restart: unless-stopped
  25. environment:
  26. - HL_HOST=127.0.0.1
  27. - TICKETS_PORT=45003
  28. - TICKETS_WATCH=0
  29. - IDENT_EXCHANGE_URL=http://127.0.0.1:45002
  30. - HL_CACHE_DIR=/root/.hybriel/cache
  31. volumes:
  32. - ./:/home/tickets
  33. - hybriel-cache:/root/.hybriel
  34. tmpfs:
  35. - /tmp:exec,mode=1777
  36. command: ./bin/hybriel project.hl
  37. volumes:
  38. hybriel-cache:

Branches

Latest commits

  • 5d8d2cf6deploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • 58e8c02cmission 024: report, LOG, STATUS, e2e fixmre
  • 50778073tests/e2e-route-marker.mjs: first paint marker, comments post/edit redrawmre
  • c5203298mission 024: MainMenu marks the page from the route (layouts 0bcc629 main-menu.hl); browser-side marker removed; gate: marker in the server HTMLmre
  • b1a4c270re-vendor Hybriel master f9614007: bin/ (git-ignored) and plugins wholemre
  • 866397a0mission 023: theme from layouts 76f99f6 (current marker, menu count badge), components from 3794c59 (MdEditor keys); Inbox count as badge, current by address; gates and E2E; reportmre
  • 7ed2e5e5deploy.sh: a gate without a 'passed,' line (check-theme) no longer ends the script silently (grep under pipefail), as gitoria/layoutsmre
  • bf9064a3mission 022: tickets on the layouts theme (step 1): shell, styles, gates, audit, E2E; reportmre
  • f3d61711mission 022 WIP: tickets on the layouts theme (dbe3de7): AppHeader/MainMenu/UserMenu/Sidebar/ContentFirst shell, styles reduced to the app's own, check-theme in the gates, 390 audit + real-Chrome walk scriptmre
  • 31cabfccmission 021: E2E script, report, LOG, STATUSmre
  • 6aea8683editor look: .empty rule only for p.empty, files off where tickets has no upload, state note one line, events test scrolls the editor into view; synced md-editor (components d702d76+6f27ad3); gate 377/0, events 52/0mre
  • dce6ffa6Merge branch 'w28-deflake'mre
  • 536092a1tickets (mission 019): de-flake the m016 comment clicks (B: unliked) — calmClick waits until the button stops moving; test only, no app changemre
  • 9c5fd42amission 020: attachments E2E proof (lisbeth Chrome, real-data copy), reportmre
  • 1206404fREADME attachments, report 018, LOG/STATUSmre
  • 3d9e7f3ctests: m017 gate fixes (list count, waits before delete clicks); gate 373/0mre
  • dd41d5bcre-sync components 15be2ac; mission 018mre
  • 420ad1bbtickets (mission 017 WIP, tickets#27): comment attachments — lib/attachments.hl (storage/attachments, limits, type by content, members-only GET /api/attachments/:id, delete drops, edit keeps), multipart POST …/comments (lib/multipart.hl), Respond block in FilesUpload (blocks verbatim from components w27c 1f8d79d), gate m017 checks written (not yet run); report, LOG, STATUSmre
  • a7a1380dmission brief 017mre
  • f83d9c0dtickets (mission 016): report reports/016-comments-block.md, LOG, STATUS, README gate countmre