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>
- Variant B: docker-compose.yml gets configurable host ports and health
checks. Variant A: deploy/allinone image (nginx, supervisord, gunicorn,
uvicorn, gatherer, OpenVPN) with an explicit database migration step
before any service; docker-compose.allinone.yml. Same five volumes and
paths in both variants.
- deploy/docker: install.sh, update.sh (backup, build, stop, separate DB
migration phase, start, automatic rollback), backup.sh, restore.sh, lib.sh.
- Verified on Docker: install A/B, update with pre-versioned databases,
rollback after an injected failure, backup/restore.
- Docs: Scenario1_Containers guide, change summary, README, Index;
.dockerignore, .gitignore additions.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- JWT_SECRET is mandatory (no more "supersecret" fallback).
- Pass OVPMON_INITIAL_ADMIN_USER/PASSWORD and OVPMON_CORS_ORIGINS to the
APIs; add restart policy and drop the obsolete compose "version".
- Publish only 80/tcp and 1194/udp; expose 5001 and 8000 on ovp-net.
- CORS origins now come from OVPMON_CORS_ORIGINS instead of a hardcoded
host (default: same-origin only).
- Update Docker/native deployment docs and README accordingly.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>