Self-hosting a full monitoring stack in one command: servers, logs, APM and status pages
Описание и применение
Одной командой установите полностью самодостаточный стек мониторинга, объединяющий метрики, логи, статус‑страницы и трассировку, с автоматическими обновлениями и резервным копированием.
Задача
Teams need a self-hosted monitoring stack to keep data in-house or avoid escalating SaaS costs, but typical stacks involve five separate services that are hard to maintain for small teams.
Результат
A single command installs a fully functional, self‑hosted monitoring stack that replaces five separate services, reduces maintenance effort, and supports offline operation with secure license verification.
Рабочий процесс
- 1. Run the one‑command installer with domain, email, and license parameters.
- 2. Installer installs Docker if missing, downloads and verifies the release bundle via Ed25519 signature.
- 3. Generates a Caddyfile for automatic HTTPS and starts Postgres, a worker, and two web replicas for rolling updates.
- 4. Use
vigil updateto perform safe, rollback‑enabled updates. - 5. Use
vigil backupto dump the database and config every six hours via cron. - 6. For private networks, add
--internal-tlsfor self‑signed certs and--no-phone-hometo keep the instance offline.
Доказательства
Vigil's self-hosted edition installs like this on any Ubuntu, Debian, RHEL-family or Alpine host:
It installs Docker if missing, downloads the release bundle and its Ed25519 signature, verifies the signature with openssl before extracting anything, writes a Caddyfile with automatic HTTPS, and starts Postgres, a worker and two web replicas so updates are rolling.
Postgres is the only stateful part. A fleet of 20 servers reporting every 30 seconds with logs enabled lands around 2 GB of database growth a month at the default retention.
- Дата записи: 2026-09-22T02:00:44.280Z