Skip to content

Configuration Reference

This page provides a consolidated reference for all Nyravio configuration options.

All configuration is done through environment variables in a .env file. See Environment Variables for detailed descriptions and usage.

Variable Required Default Description
NYRAVIO_SIGNING_SECRET Yes — JWT signing secret (≥ 32 bytes)
NYRAVIO_ADMIN_ENCRYPTION_KEY Yes — Credential encryption key (≥ 32 chars)
POSTGRES_PASSWORD Yes — PostgreSQL password
NYRAVIO_SETUP_TOKEN Recommended — One-time setup wizard token
NYRAVIO_PORT No 8080 Host port for the application
POSTGRES_DB No nyravio Database name
POSTGRES_USER No nyravio Database user
JAVA_TOOL_OPTIONS No — Additional JVM options
NYRAVIO_IMAGE No nyravio:local Docker image reference
NYRAVIO_MCP_MASTER_KEYS No — MCP credential encryption keys
NYRAVIO_MCP_OAUTH_CLIENT_ID No — MCP OAuth client ID
NYRAVIO_MCP_OAUTH_REDIRECT_URI No — MCP OAuth redirect URI
NYRAVIO_SETUP_NETWORKALLOWLIST No 127.0.0.1,::1 Setup wizard network allowlist

The main application service serving both the API and frontend on port 8080.

  • Image: nyravio:local (source build) or ghcr.io/lexprofi/nyravio:VERSION
  • Internal dependencies: db (PostgreSQL), tika (document processing)
  • Volumes: uploads mounted at /app/data/uploads
  • Health endpoints: /health/live, /health/ready

PostgreSQL 16 with pgvector extension.

  • Image: pgvector/pgvector:pg16
  • Volume: pgdata mounted at /var/lib/postgresql/data
  • Health check: pg_isready

Apache Tika document processing service.

  • Image: apache/tika:3.1.0.0
  • Port: 9998 (internal only)
  • Memory limit: 1 GB (default)
Endpoint Purpose Status codes
/health/live Liveness probe — process is running 200 OK
/health/ready Readiness probe — ready to serve (includes DB) 200 OK, 503 Service Unavailable
Setting Value
Engine PostgreSQL 16
Extension pgvector
Migrations Flyway (forward-only)
DDL mode Flyway-only (hibernate.ddl-auto=none)
Connection pool HikariCP (max 30, min idle 10)
Connection timeout 30,000 ms
Max lifetime 1,800,000 ms
Setting Value
Password hashing Bcrypt (strength 12)
Access token TTL 900 seconds (15 min)
Refresh token TTL 604,800 seconds (7 days)
Account lockout threshold 5 failed attempts
Lockout duration 15–60 minutes
Password reset rate limit 3 per hour
Trusted device TTL 30 days
SSO state TTL 600 seconds
Path Description
/app/data/uploads User-uploaded files
/app Application root
Port Service Exposure
8080 Nyravio application Host (configurable)
5432 PostgreSQL Internal only
9998 Apache Tika Internal only