Production deployment¶
What to set and check before real people rely on Argavon to wake them up. The install steps are in Docker Compose and Kubernetes (Helm).
Sizing¶
| Minimum | Comfortable | |
|---|---|---|
| CPU | 2 cores | 4 cores |
| Memory | 4 GB | 8 GB |
| Disk (database) | 20 GB | 100 GB SSD |
| PostgreSQL | 15 | 16 |
The backend keeps its state in Postgres (correlation state, sessions and the per-workspace LLM
budget), and session revocations reach every replica through Postgres NOTIFY, so you can run
several backend replicas behind the web server. Request rate limits are counted by each replica.
Checklist¶
- [ ]
ENV=production. The server then refuses to start withoutJWT_SECRETandAGENT_SECRET_KEY(32+ random characters each),MASTER_ENCRYPTION_KEY(64 hex characters),POSTGRES_DSNandFRONTEND_ORIGIN. Values containingCHANGE_MEorREPLACE_WITHcount as unset. (The Helm chart sets production mode for you.) - [ ]
FRONTEND_ORIGIN(config.publicURLin Helm) is the exact address people open, withhttps://. It is the only origin the API accepts browser requests from and the base of every link in emails, pages and the status page. - [ ] HTTPS in front of the web server (below).
- [ ]
TRUSTED_PROXY_CIDRSlists your proxies, so rate limits and audit entries see real client addresses. - [ ]
PLATFORM_ADMIN_EMAILSnames the people who may manage the license key and the cross-tenant platform plane. Nobody can otherwise. - [ ] Email (
SMTP_*or SES) so invites, email pages and the weekly digest go out; Twilio if you want SMS and voice pages. See the configuration reference. - [ ] Each on-call person has a verified contact method and a notification rule; send yourself a test page from an incident before relying on it.
- [ ] Backups of the database and of
MASTER_ENCRYPTION_KEY(without the key, stored integration secrets cannot be read). - [ ]
AGENT_INGEST_TOKENis not set (production refuses to start with it): agents enrol with per-agent tokens. - [ ] The database user in
POSTGRES_DSNmay create the roleneuroops_app(or setDB_APP_ROLEto a role it is a member of). Every query runs as that role so row-level security applies; the server refuses to start in production when it cannot. - [ ] Monitoring: scrape
/metricsand loaddeploy/monitoring/alerts.yml; backups withscripts/backup/(see Monitoring, retention and backups). - [ ] Decide on the anonymous daily usage report: it is on by default and sends nothing until
TELEMETRY_URLis set.TELEMETRY=falseturns it off. See Telemetry.
HTTPS¶
With Docker Compose, publish the web server on loopback and put your TLS proxy in front:
HTTP_PUBLISH=127.0.0.1:80 ./quickstart.sh
server {
listen 443 ssl;
server_name ops.example.com;
ssl_certificate /etc/ssl/certs/ops.crt;
ssl_certificate_key /etc/ssl/private/ops.key;
location / {
client_max_body_size 10m; # OTLP and agent batches
proxy_pass http://127.0.0.1:80;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_buffering off; # live log stream
proxy_read_timeout 1h;
}
}
With Helm, use ingress.* with a TLS secret, or your own load balancer in front of the neuroops
Service.
Backups¶
Docker Compose:
docker compose exec -T db pg_dump -U aiops_user aiops | gzip > neuroops-$(date +%F).sql.gz
gunzip -c neuroops-2026-11-04.sql.gz | docker compose exec -T db psql -U aiops_user aiops
On Kubernetes, use your database's own backups (managed Postgres) or pg_dump from a pod that can
reach it. Keep MASTER_ENCRYPTION_KEY with the backup, separately protected.
Upgrades¶
Migrations are forward-only and run when the backend starts, under a database lock. To upgrade:
take a backup, then deploy the new version (git pull && docker compose up -d --build, or
helm upgrade). There are no down-migrations: to go back, restore the backup taken before the
upgrade.
Health and monitoring¶
| Endpoint | Answers |
|---|---|
/healthz |
The process is up (also answered by the web server itself) |
/readyz |
The backend can reach the database: use it for load balancer and readiness checks |
/api/v1/health |
Same check, under the API path |
Logs go to standard output, one line per request with a request id and trace id. Platform operators
also get cross-workspace counters from GET /api/v1/platform/metrics.
Running without containers¶
The release tarball (aiops-platform-X.Y.Z.tar.gz, with SHA256SUMS) contains the backend binary,
the built web app, deploy/nginx.conf and .env.example. Run the binary with the environment from
.env.example, serve the web app with nginx using deploy/nginx.conf (it listens on 8080 and
proxies /api to backend:8080; change both to suit), and put TLS in front.
Running a public demo¶
A demo server that anyone can try: PLATFORM_DEMO=true, DEMO_EMAIL, DEMO_PASSWORD and
DEMO_RESET_INTERVAL=1h. On start and every hour it empties every workspace and builds the demo
workspace again: an operator account (shown on the sign-in page), sample incidents, on-call and
escalation, and a new live alert every few minutes. Sign-up, password changes, contact methods, invites
and API keys are turned off, so visitors cannot reach the outside world or lock each other out. Use its
own database, never one with real data; the server refuses demo mode in cloud mode.