gitoria

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2dd53dcc2dd53dccP1: one reminder shows once: arm() one at a time, the page skips reminders the server already pushed; push-twice gatemre2dd53dcc/docker-compose.yml

1.6 KB

  1. # calendar.worldapi.org on Byrodin — same pattern as gitoria: ./Dockerfile = debian:12-slim + libssl3 +
  2. # ca-certificates, host network, the app on 127.0.0.1:45005, nginx proxies it and ends TLS (WebSocket Upgrade headers
  3. # needed: hl:web rides `/`). The whole folder is the bind mount (.sessions/ and storage/ persist).
  4. # LOGIN VIA IDENT (ticket #2): IDENT_API_KEY and IDENT_API_SECRET come from `.env` in this folder (never written here).
  5. # The app is registered in ident with ONE origin, https://calendar.worldapi.org. IDENT_EXCHANGE_URL: the server-side
  6. # code exchange goes straight to ident's loopback port (as notes does).
  7. # HYBRIEL COMPILES THE APP AT ITS START (hybriel#148): scratch files go to /tmp (a tmpfs here), its build cache to HL_CACHE_DIR
  8. # inside the named volume `hybriel-cache`, so a restart starts warm and only a new binary or changed code compiles again (cold ~20 s).
  9. services:
  10. calendar:
  11. container_name: calendar.worldapi.org
  12. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  13. build: .
  14. image: "worldapi-hybriel-runtime:debian12"
  15. working_dir: /home/calendar
  16. network_mode: host
  17. restart: unless-stopped
  18. ulimits:
  19. nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)
  20. environment:
  21. - HL_HOST=127.0.0.1
  22. - CALENDAR_PORT=45005
  23. - CALENDAR_WATCH=0
  24. - IDENT_EXCHANGE_URL=http://127.0.0.1:45002
  25. - HL_CACHE_DIR=/root/.hybriel/cache
  26. volumes:
  27. - ./:/home/calendar
  28. - hybriel-cache:/root/.hybriel
  29. tmpfs:
  30. - /tmp:exec,mode=1777
  31. command: ./bin/hybriel project.hl
  32. volumes:
  33. hybriel-cache:

Branches

Latest commits

  • 2dd53dccP1: one reminder shows once: arm() one at a time, the page skips reminders the server already pushed; push-twice gatemre
  • 3a29760aC13 report (handoff)mre
  • 33ab66ffCalendar: notification controls move from the month view into Reminder settings (user menu), one consistent state, state read when the dialog opensmre
  • 682a5b43reports: calendar gate countsmre
  • 876d22b2reports/H1-hydrate.mdmre
  • ef0cae45tests/dst.mjs: wait for hydration instead of a fixed 2.5 s sleep before clicking #gomre
  • d9cadecatests/cdp.mjs: HL_CPU_THROTTLE=<rate> optional CPU throttling for gate runsmre
  • efa61227re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • 7808adbecalendar#12: report 011, LOG, STATUS, push-shots-testmre
  • df2e4fa0calendar#12: test push rate limit (1 per 30 s per device), owner-only gate checksmre
  • acb957cfcalendar#12: Send a test notification on a subscribed device (one push in ~10 s, owner's own device), push gate part 4mre
  • 0b222eb8tests: e2e-theme CDP port default from E2E_THEME_CDP_PORT (8756 unchanged)mre
  • 8b8a5abare-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a69b27f9docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
  • 1a97edfdcalendar mission 010: reminder rows at 390 px (the 7-column month grid no longer catches the reminder lists), gate checks, settings-shots, reportmre
  • 61b21404calendar mission 009: reminder times on hl:time in the browser (lib/push-plan.hl and the Intl code removed), DST gate tests/dst.mjs, E2E script, reportmre
  • 875353c1calendar mission 009: re-vendor Hybriel master 022a3ac1 (int 6 6b396322 hl:time browser side, int 7 65e8ec21; bin sha256 6e0f77d7, plugins whole)mre
  • ce16a4efdeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • f490bc8cdeploy: Web Push gate tests/push.mjs (PUSH_GATE_PORT)mre
  • 3af29fc8calendar mission 008 (A8): report, README, LOG, push-shots.mjsmre