Documentation - Three levels: DOCS/General (overview, configuration), DOCS/Deployment (choose a method, first steps), details per method in Containers/ and System_Services/; new root README and DOCS/README map. - Remove superseded pages (Deployment.md, Deployment_Docker/Native.md, Index.md); split the two scenario guides by section. - Isolate the Timeweb/Hysteria2 records in DEPLOYMENTS/timeweb-hysteria2/ (not linked from DOCS, listed in .graphifyignore). - Add DOCS/code_review/ with a time-stamped analysis of the code base. Gatherer (BUG-02, BUG-03) - Session key (CN, address, connected_since_ts), baseline from the active_sessions snapshot, grace period for sessions missing from the status. - Status file integrity (TITLE/TIME/END) and freshness; a torn read skips the tick. - Cache applied after commit; main loop survives exceptions, backs off, and stops cleanly on SIGTERM/SIGINT; new client rows start with the first frame's totals; five tests. JWT signing key (SEC-01) - No built-in default: Core and Profiler refuse to start with a missing, placeholder or short (< 32) key; shipped config.ini has an empty value. - Same rule in install.sh, update.sh (issues a new key when missing or weak), docker lib/entrypoint; five tests, conftest.py for the test key. Each change has a plan and a summary under DOCS/Changes/. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
38 lines
2.6 KiB
Markdown
38 lines
2.6 KiB
Markdown
# Documentation
|
|
|
|
Three levels: **general information** about the project, **installation methods**, and **details of each method**. Start with the first row that matches your goal.
|
|
|
|
## I want to ...
|
|
|
|
| Goal | Read |
|
|
|---|---|
|
|
| understand what this is | [General: Overview](General/Overview.md) |
|
|
| get a working environment fast | [Installation](Deployment/README.md) (choose a method), then [First steps](Deployment/First_Steps.md) |
|
|
| install with Docker | [Containers](Deployment/Containers/README.md) |
|
|
| install on Alpine, Debian or Ubuntu without containers | [System services](Deployment/System_Services/README.md) |
|
|
| update, back up, restore or roll back | containers: [Operations](Deployment/Containers/Operations.md) · system services: [Operations](Deployment/System_Services/Operations.md) |
|
|
| change settings (environment, secrets, ports) | [General: Configuration](General/Configuration.md) |
|
|
| fix a problem | containers: [Troubleshooting](Deployment/Containers/Troubleshooting.md) · system services: [Troubleshooting](Deployment/System_Services/Troubleshooting.md) |
|
|
| set up NAT, TLS, the web UI build | [Firewall](Deployment/System_Services/Firewall.md) · [Nginx](Deployment/System_Services/Nginx_Configuration.md) · [Web UI](Deployment/System_Services/Web_UI.md) |
|
|
| understand the security model | [Security architecture](General/Security_Architecture.md) · [Authentication](Core_Monitoring/Authentication.md) |
|
|
| call the APIs | [Monitoring API](Core_Monitoring/API_Reference.md) · [Profiler API](Profiler_Management/API_Reference.md) |
|
|
| see what changed and why | [Changes](Changes/README.md) |
|
|
| see the code review (state of the code, risks, recommendations) | [code_review/](code_review/2026-10-05_1607Z_Codebase_Analysis.md) (Russian, time-stamped) |
|
|
|
|
## Map
|
|
|
|
```
|
|
DOCS/
|
|
General/ 1. general information: overview, configuration, security, database migrations
|
|
Deployment/ 2. installation methods: choice, first steps
|
|
Containers/ 3a. details: Docker, variants A and B
|
|
System_Services/ 3b. details: Alpine (OpenRC), Debian and Ubuntu (systemd)
|
|
Core_Monitoring/ Monitoring API (APP_CORE): API, authentication, data architecture
|
|
Profiler_Management/ Profiler API (APP_PROFILER)
|
|
UI/ Web UI (APP_UI)
|
|
Changes/ records of changes: plans and results
|
|
code_review/ time-stamped analyses of the code base
|
|
```
|
|
|
|
`General/systemd/`, `General/openrc/` and `General/privilege-separation/` hold the service definitions and the root helper that the install scripts copy; they are files, not documentation, and stay where the scripts expect them.
|