Nyraxis AI

Self-Hosting

Deploy Nyraxis in your own infrastructure — same API, your VPC.

Self-Hosting

Run Nyraxis entirely within your infrastructure. No data leaves your VPC.

Deployment options

OptionBest for
Docker ComposeDevelopment, small teams
Kubernetes (Helm)Production, auto-scaling
AWS ECS/FargateAWS-native teams

Docker Compose

version: "3.8"
services:
  nyraxis:
    image: ghcr.io/nyraxis/nyraxis:latest
    ports:
      - "8000:8000"
    environment:
      DATABASE_URL: postgresql://user:pass@db:5432/nyraxis
      NYRAXIS_LICENSE_KEY: your_license_key
      NYRAXIS_SECRET: your_random_secret
    depends_on:
      - db

  db:
    image: postgres:16-alpine
    environment:
      POSTGRES_DB: nyraxis
      POSTGRES_USER: user
      POSTGRES_PASSWORD: pass
    volumes:
      - pgdata:/var/lib/postgresql/data

volumes:
  pgdata:
docker compose up -d

The API is now available at http://localhost:8000.

Point your SDK

import nyraxis_sdk

nyraxis_sdk.init(
    api_key="nyx_...",
    base_url="http://your-nyraxis-host:8000",
)

Requirements

  • PostgreSQL 14+
  • 2 vCPU, 4GB RAM minimum
  • Network access to your LLM endpoints (for hallucination detection)

License key

Self-hosted deployments require a license key. Contact sales@nyraxis.io for pricing.

Health check

curl http://localhost:8000/health
# {"status": "healthy", "version": "1.1.0"}

Upgrades

docker compose pull && docker compose up -d

Database migrations run automatically on startup.

On this page