gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit4099e64a4099e64aMerge branch 'font-segoe-ui' into mainAtlas4099e64a/docker-compose.yml

2.4 KB

  1. # layouts.worldapi.org on Byrodin — the Hybriel showcase of the WorldAPI theme (antcolony mission 075; replaces the Vidoriel
  2. # workbench, same container name). Same pattern as calendar/components: ./Dockerfile = debian:12-slim + libssl3 +
  3. # ca-certificates, host network, the app on 127.0.0.1:45009, nginx proxies it and ends TLS (WebSocket Upgrade headers
  4. # needed: hl:web rides `/`). HYBRIEL COMPILES THE APP AT ITS START (static build 0f396652): scratch files go to /tmp (a tmpfs here),
  5. # the build cache to HL_CACHE_DIR = /root/.hybriel/cache in the named volume `hybriel-cache`, so a restart starts warm and only a
  6. # new binary or changed code compiles again (cold ~18 s). No .env, no storage, no sessions (sessionDir = false).
  7. services:
  8. layouts:
  9. container_name: layouts.worldapi.org
  10. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  11. build: .
  12. image: "worldapi-hybriel-runtime:debian12"
  13. working_dir: /home/layouts
  14. network_mode: host
  15. restart: unless-stopped
  16. ulimits:
  17. nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)
  18. environment:
  19. - HL_HOST=127.0.0.1
  20. - LAYOUTS_PORT=45009
  21. - LAYOUTS_WATCH=0
  22. - HL_CACHE_DIR=/root/.hybriel/cache
  23. volumes:
  24. - ./:/home/layouts
  25. - hybriel-cache:/root/.hybriel
  26. tmpfs:
  27. - /tmp:exec,mode=1777
  28. command: ./bin/hybriel project.hl
  29. # 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).
  30. # nginx uses it as the backup while the main container restarts. This app has no background jobs or timers, so the standby is a plain copy.
  31. layouts-standby:
  32. container_name: layouts.worldapi.org-standby
  33. init: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)
  34. build: .
  35. image: "worldapi-hybriel-runtime:debian12"
  36. working_dir: /home/layouts
  37. network_mode: host
  38. restart: "no"
  39. profiles: ["standby"]
  40. ulimits:
  41. nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)
  42. environment:
  43. - HL_HOST=127.0.0.1
  44. - LAYOUTS_PORT=45019
  45. - LAYOUTS_WATCH=0
  46. - HL_CACHE_DIR=/root/.hybriel/cache
  47. volumes:
  48. - ./:/home/layouts
  49. - hybriel-cache:/root/.hybriel
  50. tmpfs:
  51. - /tmp:exec,mode=1777
  52. command: ./bin/hybriel project.hl
  53. volumes:
  54. hybriel-cache:

Branches

Latest commits

  • 4099e64aMerge branch 'font-segoe-ui' into mainAtlas
  • e14fb795|||PR Theme font: Segoe UI first (his choice 2026-11-19)Atlas
  • 44071d2cMerge branch 'hl-standard-5' into mainAtlas
  • 5ea64202|||PR Gate: count the new-tab check's console errors tooAtlas
  • 2752ceddMerge branch 'hl-standard-4' into mainAtlas
  • ac552b81|||PR Gate: keyboard (Tab/Enter/Space) and Back/Forward/reload/new-tab checks (HL-STANDARD F5, F21)Atlas
  • 8cddcaa9Merge branch 'hl-standard-2' into mainAtlas
  • 2b480a64|||PR Type the route parameter of main-menu build (HL-STANDARD L10)Atlas
  • ab54a39dMerge branch 'hl-standard' into mainAtlas
  • 04d36fcf|||PR Type function parameters and drop unneeded let (HL-STANDARD L2, L10)Atlas
  • 220c8fa4Merge branch 'readme-audit' into mainAtlas
  • b78fb85a|||PR README matches the codemre
  • 9f351699Preserve comments and nest supported selectors without changing rendered outputmre
  • 97110ad9WIP: nest accepted layout selectors; stopped at startup parse failuremre
  • ce4a0baeKeep caller slot styles whole so minimal shell apps startmre
  • 12cd3992Re-vendor complete Hybriel plugins and runtime to day44mre
  • b05c20feBackup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 8d9ed0b8Re-vendor complete Hybriel plugins and runtime to day39mre
  • ebd00b6cNest caller slot styles in three-panemre
  • 009991efNest caller slot styles in list-firstmre