gitoriaLog in with ident

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit110c2799110c2799mission 002 (code order) 1/4: .hl files out of the root — lib/ (api, git, localtime, markdown, repos, sshgate, sshkeys, tickets, tokens, transport, users), components/styles.hl; jsoncheck.hl removed (imported nowhere); import paths only. gates 200/0, 46/0, 44/0; real-data reads + writes identicalmre110c2799/docker-compose.yml

2.3 KB

  1. # gitoria.worldapi.org on Byrodin — same pattern as tickets.worldapi.org: ./Dockerfile = debian:12-slim +
  2. # libssl3 + ca-certificates, host network, the app on 127.0.0.1:45004, nginx proxies it and ends TLS
  3. # (the vhost needs the WebSocket Upgrade headers: the live push rides `/`).
  4. # THE VHOST IS A WILDCARD: `server_name gitoria.worldapi.org *.gitoria.worldapi.org;` — every repo
  5. # is <slug>.gitoria.worldapi.org and reaches this one app; the app reads the host in the browser
  6. # (README "How a repo gets its address"). Wildcard DNS + a wildcard certificate are the architect's.
  7. # The whole folder is the bind mount: storage/mpackdb/ and .sessions/ live here and persist.
  8. # LOGIN VIA IDENT: IDENT_API_KEY and IDENT_API_SECRET come from `.env` in this folder (never written
  9. # here). The app is registered in ident with ONE origin, https://gitoria.worldapi.org (repo
  10. # addresses log in through it and come back: README "Login").
  11. # IDENT_EXCHANGE_URL: the server-side code exchange goes straight to ident's loopback port.
  12. services:
  13. gitoria:
  14. container_name: gitoria.worldapi.org
  15. build: .
  16. image: "worldapi-hybriel-runtime:debian12"
  17. working_dir: /home/gitoria
  18. network_mode: host
  19. restart: unless-stopped
  20. environment:
  21. - HL_HOST=127.0.0.1
  22. - GITORIA_PORT=45004
  23. - GITORIA_WATCH=0
  24. - IDENT_EXCHANGE_URL=http://127.0.0.1:45002
  25. - GITORIA_SSH_SECRET=${GITORIA_SSH_SECRET:-}
  26. - GITORIA_SSH_PORT=${GITORIA_SSH_PORT:-2222}
  27. - GITORIA_SSH_HOST=${GITORIA_SSH_HOST:-}
  28. volumes:
  29. - ./:/home/gitoria
  30. command: ./bin/hybriel project.hl
  31. # git over SSH (ticket gitoria#7): sshd that only runs git-upload-pack / git-receive-pack; keys and permissions are asked from the app
  32. # 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
  33. # 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).
  34. gitoria-sshd:
  35. container_name: gitoria-sshd
  36. build: ./docker/sshd
  37. network_mode: host
  38. restart: unless-stopped
  39. environment:
  40. - GITORIA_SSH_SECRET=${GITORIA_SSH_SECRET:?set GITORIA_SSH_SECRET in .env}
  41. - GITORIA_SSH_PORT=${GITORIA_SSH_PORT:-2222}
  42. - GITORIA_URL=http://127.0.0.1:45004
  43. volumes:
  44. - ./storage/git:/repos
  45. - ./storage/sshd-hostkeys:/hostkeys

Branches

Latest commits

  • 110c2799mission 002 (code order) 1/4: .hl files out of the root — lib/ (api, git, localtime, markdown, repos, sshgate, sshkeys, tickets, tokens, transport, users), components/styles.hl; jsoncheck.hl removed (imported nowhere); import paths only. gates 200/0, 46/0, 44/0; real-data reads + writes identicalmre
  • fdfb4b1bgitoria: Hybriel master 06617221 (plugin allocators 3a781359 + 413f60e4, mpackdb 2cb7ae5e, http1 773de63e); gates 200/0, 46/0, 44/0mre
  • 5b46ac84antcolony#40: LOG.md — missions 069/072 are antcolony missions (report paths on Byrodin)mre
  • 5602ff41gitoria: Hybriel master 190aa11d (fc838894 GC correctness, #127 mountKids by reference, #126, #48) — tracker README flat; gates 200/0, 46/0, 44/0mre
  • e85eaf01gitoria: 069 round 2 — hybriel 1a096ad3 not adopted (Markdown SSR still grows); browser gate waits for the server-side logout before restartmre
  • 09ce4f3fgitoria: mission 069 re-vendor hybriel 8efba065 stopped (big SSR pages grow + slow down); lambda audit clean; old vendor keptmre
  • 3dc43108antcolony#40: mission references point to the moved missionsmre
  • 8d9450fdantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
  • 205d5fe4gitoria: Hybriel master ff51cf46; ssh keys/tokens no double rows (session sync); gates follow #20mre
  • 9b27cb26gitoria#21: installable app (manifest, service worker, offline start page), own iconmre
  • 68dcb603deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
  • e2deed6dgitoria#20: "Add code" only on the Code page of an empty repository, no collapsiblemre
  • 8bb97ffddeploy.sh: never send .git or .gitignore to Byrodinmre
  • fd981932State of 2026-09-27; bin/ no longer tracked (Hybriel commit is in README)mre
  • 4a2d7125initial commitmre