Skip to content

Operations

Upgrading - Pull latest sources or images. - Rebuild and restart: docker compose up -d --build - Apply database migrations: docker compose exec api alembic upgrade head

Backups - Database: dump PostgreSQL regularly (e.g., pg_dump inside the DB container). - Elasticsearch: use the snapshot API to back up to object storage or a mounted path.

Monitoring & Health - API Health: GET /api/portal/health/ (requires global admin). - Logs: docker compose logs -f api and proxy logs.

Scaling - For larger tenants, allocate more RAM/CPU to Elasticsearch and the API containers.

Security Maintenance - Keep Docker base images and host OS updated. - Rotate secrets and certificates.