====== HedgeDoc ======
===== Purpose =====
HedgeDoc is Hackeriet's collaborative pad service.
Public URLs:
* https://pad.hackeriet.no
* https://pad2.hackeriet.no
Service-specific access details should live here. Host-level shell and Docker access is documented on [[infra:hosts:app-01|app-01]].
===== Access =====
User access is managed through Hacker-ID / Kanidm. The relevant group is documented on [[infra:services:hacker-id|Hacker-ID]]:
* ''service-hedgedoc-users'' - logon rights to ''pad.hackeriet.no''
Host-level shell and Docker access is documented on [[infra:hosts:app-01|app-01]].
===== Hosting =====
HedgeDoc runs on [[infra:hosts:app-01|app-01]] and is exposed through [[infra:hosts:ingress|ingress]].
Observed app-01 service path:
* ''/storage/services/hedgedoc''
Observed app-01 local port mapping:
* ''pad.hackeriet.no'' -> ''http://localhost:8003''
Observed containers include:
* ''hedgedoc-app-1''
* ''hedgedoc-database-1''
===== Checks during incidents =====
Basic checks on app-01:
cd /storage/services/hedgedoc
docker ps | grep -i hedgedoc
docker compose ps
Service checks:
curl -I http://localhost:8003
journalctl -u docker --since "1 hour ago"
Ingress and DNS checks from another machine:
dig +short pad.hackeriet.no A
curl -I https://pad.hackeriet.no