Native LXC deploy (no Docker)
Scripts and unit files for running ingest-api, admin-ui, and collector-worker on Debian/Ubuntu LXC with MariaDB (or MySQL 8+) on the same CT or another host.
Authoritative runbook: docs/deployment/bitreport-error-reporting-lxc-proxmox.md.
| Path | Purpose |
|---|---|
env.example |
Template for /etc/error-reporting/env |
run-migrate.sh |
Apply migrations + seed (after MariaDB is up) |
verify.sh |
curl ingest /health and optional checks |
systemd/*.service |
Unit files (adjust WorkingDirectory if not /opt/errors.bitreport.pt) |
nginx/*.conf.example |
TLS reverse proxy sketch |
Docker-based path remains in ../../docker-compose.yml and ../../docs/deployment/bitreport-error-reporting-compose-proxmox.md.
Nota: em alguns LXCs o git clone https://git.bitreport.pt/... falha sem credenciais (Gitea não expõe leitura anónima a partir de todas as redes). Alternativas: rsync/CI a partir de um host com clone, ou PAT read-only na URL (guardar fora do git).