gitoria
All repositories: gitoria
3.1 KB
# gitoria.worldapi.org on Byrodin — same pattern as tickets.worldapi.org: ./Dockerfile = debian:12-slim +# libssl3 + ca-certificates, host network, the app on 127.0.0.1:45004, nginx proxies it and ends TLS# (the vhost needs the WebSocket Upgrade headers: the live push rides `/`).# THE VHOST IS A WILDCARD: `server_name gitoria.worldapi.org *.gitoria.worldapi.org;` — every repo# is <slug>.gitoria.worldapi.org and reaches this one app; the app reads the host in the browser# (README "How a repo gets its address"). Wildcard DNS + a wildcard certificate are the architect's.# HYBRIEL COMPILES THE APP AT ITS START (static build 0f396652): scratch files go to /tmp (a tmpfs here), the build cache to# HL_CACHE_DIR = /root/.hybriel/cache inside the named volume `hybriel-cache`, so a restart starts warm and only a new# binary or changed code compiles again (cold ~18 s).# The whole folder is the bind mount: storage/mpackdb/ and .sessions/ live here and persist.# LOGIN VIA IDENT: IDENT_API_KEY and IDENT_API_SECRET come from `.env` in this folder (never written# here). The app is registered in ident with ONE origin, https://gitoria.worldapi.org (repo# addresses log in through it and come back: README "Login").# IDENT_EXCHANGE_URL: the server-side code exchange goes straight to ident's loopback port.services:gitoria:container_name: gitoria.worldapi.orginit: true # hybriel#156: the app as PID 1 ignores SIGTERM (restart waited 10 s)build: .image: "worldapi-hybriel-runtime:debian12"working_dir: /home/gitorianetwork_mode: hostrestart: unless-stoppedulimits:nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)environment:- HL_HOST=127.0.0.1- GITORIA_PORT=45004- GITORIA_WATCH=0- IDENT_EXCHANGE_URL=http://127.0.0.1:45002- GITORIA_SSH_SECRET=${GITORIA_SSH_SECRET:-}- GITORIA_SSH_PORT=${GITORIA_SSH_PORT:-2222}- GITORIA_SSH_HOST=${GITORIA_SSH_HOST:-}- HL_CACHE_DIR=/root/.hybriel/cachevolumes:- ./:/home/gitoria- hybriel-cache:/root/.hybrieltmpfs:- /tmp:exec,mode=1777command: ./bin/hybriel project.hl# git over SSH (ticket gitoria#7): sshd that only runs git-upload-pack / git-receive-pack; keys and permissions are asked from the app# at 127.0.0.1:45004 (docker/sshd). Needs GITORIA_SSH_SECRET in `.env` (any long random text; the app gets the same) — without it SSH is# not offered on the site. The port must be open in the firewall and DNS must point gitoria.worldapi.org at this host (the architect's).gitoria-sshd:container_name: gitoria-sshdbuild: ./docker/sshdnetwork_mode: hostrestart: unless-stoppedulimits:nofile: { soft: 65536, hard: 65536 } # Hybriel int 6+ opened >1024 files at boot in the tracker (errno 24, 2026-10-22)environment:- GITORIA_SSH_SECRET=${GITORIA_SSH_SECRET:?set GITORIA_SSH_SECRET in .env}- GITORIA_SSH_PORT=${GITORIA_SSH_PORT:-2222}- GITORIA_URL=http://127.0.0.1:45004volumes:- ./storage/git:/repos- ./storage/sshd-hostkeys:/hostkeysvolumes:hybriel-cache:
Branches
Latest commits
- 19bc1df8gitoria#22: all repo pages under ONE layout level (components/repo.hl, hl:web D-CHAIN): a tab click replaces only the page in the slot; head and tab nav stay the same DOM nodesmre
- 40658417tests/browser.mjs: wait for the page to be live (hydrated) before clicking Merge — a click on the server-rendered button before the client mounted was lost (flaky 'Clashing change' under load)mre
- 48a6154bre-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
- e972e8d7tests: short-id-switch (GITORIA_SWITCH_IDENT_PORT/_PORT) and ssh tunnel (GITORIA_GATE_TUNNEL_PORT) ports from env, defaults unchangedmre
- f06f5349re-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
- c7d3cc87docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
- f0e7ff8cdeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
- fe5f707cgitoria 010: report, mission, comment on why current = true staysmre
- 9705ca86gitoria 010: gate: menu marker in the server HTMLmre
- 8cff663agitoria 010: main-menu.hl from layouts 0bcc629 (route marker)mre
- 359c79f7gitoria 010: re-vendor Hybriel master f9614007 (plugins whole, bin/ git-ignored)mre
- 6bd7fb3cgitoria 009: theme re-copied from layouts 76f99f6 (menu marks the current page), current = true on the menu item, e2e marker checks, reportmre
- 44de915cidentkit: refuse a taken ident port, cold-start deadline, abort on dead ident, clear no-code error (as notes)mre
- 2bf5343egitoria 007: theme re-copied from layouts dbe3de7 (44 px taps), redundant tap overrides dropped, crumbs class, real-browser walk test, reportmre
- 18843648deploy.sh: a gate without a 'passed,' line (check-theme) no longer ends the script silently (grep under pipefail) — print check-theme's summary, as layouts doesmre
- e6dff0cbgitoria#23: report 005, STATUS, LOGmre
- 7f992d62gitoria#23: phone first on the shared theme — brand, branch and pull links 44 px, readme code 14 px; gate block "phone first" (15 pages at 390 + the three dropdowns, fails 20 on old), dropdown-aware login/logout clicks, check-theme in GATESmre
- a2a840a5gitoria#23 WIP (quota stop): theme from layouts, styles inherit it, shell on the theme's header/menus/sidebar, phone measurement script; gates not runmre
- 12b665b0mission brief 005mre
- b680c483Revert "gitoria#22: RepoTabs wrapping component for the repo tabs (active tab, no content for a missing repo)"mre