gitoria

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchcalendar28-fix692346ed|||PR calendar28: handle an already-subscribed notification device in push checksAtlascalendar28-fix/docker-compose.yml

2.7 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. # STANDBY (Apollo 2026-10-25, deploy without a gap): the same image and mount on port+10, started only by standby-swap.sh (profile standby).
  33. # nginx uses it as the backup while the main container restarts. Background jobs are off here: only the main container runs them.
  34. calendar-standby:
  35. container_name: calendar.worldapi.org-standby
  36. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  37. build: .
  38. image: "worldapi-hybriel-runtime:debian12"
  39. working_dir: /home/calendar
  40. network_mode: host
  41. restart: "no"
  42. profiles: ["standby"]
  43. ulimits:
  44. nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)
  45. environment:
  46. - HL_HOST=127.0.0.1
  47. - CALENDAR_PORT=45015
  48. - CALENDAR_WATCH=0
  49. - IDENT_EXCHANGE_URL=http://127.0.0.1:45002
  50. - HL_CACHE_DIR=/root/.hybriel/cache
  51. - CALENDAR_JOBS=0
  52. volumes:
  53. - ./:/home/calendar
  54. - hybriel-cache:/root/.hybriel
  55. tmpfs:
  56. - /tmp:exec,mode=1777
  57. command: ./bin/hybriel project.hl
  58. volumes:
  59. hybriel-cache:

Branches

Latest commits

  • 692346ed|||PR calendar28: handle an already-subscribed notification device in push checksAtlas
  • bc2d7776|||PR WIP calendar28: preserve toggle focus and chip specificityAtlas
  • 189c4c8c|||PR WIP calendar28: replace visual class state with View conditionsAtlas
  • fff2f537Merge branch 'calendar31-lib' into mainAtlas
  • 07cde3dc|||PR keep worker records out of the repo; README vendor is day72Atlas
  • a753b0ab|||PR move shared calendar logic to libAtlas
  • b32a921dMerge branch 'vendor-day72' into mainAtlas
  • 60a0dd19|||PR Hybriel day72 (00c9dbb8) instead of the withdrawn day73Atlas
  • 53f5464dMerge branch 'calendar26-day73' into mainAtlas
  • 338499ec|||PR Keep reminder settings open during editing and rejected savesAtlas
  • ad9e8d59|||PR Use framework page and popover state, Hybriel day73Atlas
  • cab224a1Re-vendor calendar to verified Hybriel day73Atlas
  • f9b8f918Merge branch 'calendar-vendor-day61' into mainAtlas
  • 66341793|||PR Vendor Hybriel day61Atlas
  • 36fc596bMerge branch 'vendor-day59' into mainAtlas
  • b37cc1da|||PR Vendor Hybriel day59Atlas
  • 05665102Merge branch 'vendor-day56' into mainAtlas
  • 687296fb|||PR Vendor Hybriel day56Atlas
  • a6166d4eMerge branch 'hl-standard-3' into mainAtlas
  • 6d0eb3b0|||PR Calendar day add buttons only when signed in (Kunibert minor)Atlas