Quick Start
Server Configuration
Basic Server
| Option | Default | Description |
|---|---|---|
--host | 127.0.0.1 | Host to bind to |
--port | 7777 | Port to bind to |
--dir | ~/.praison/registry | Registry directory |
--token | None | Require token for write operations |
--read-only | false | Disable all write operations |
--json | false | Output in JSON format |
Authentication
Enable token authentication to protect write operations:Read-Only Mode
Deploy a read-only registry for public access:Programmatic Server
Start the server programmatically in Python:WSGI Application
Get the WSGI app for custom deployment:Health Check
Check server status:Deployment Options
Local Development
Docker
Docker Compose
Kubernetes
Behind Nginx
Security Best Practices
Token Management
Network Security
- Local only: Bind to
127.0.0.1for local-only access - Firewall: Restrict port access to trusted IPs
- TLS: Use nginx/traefik for HTTPS termination
- VPN: Deploy within private network
Access Control
| Mode | Read | Write | Delete |
|---|---|---|---|
| No token | ✓ | ✓ | ✓ |
| With token | ✓ | Token required | Token required |
| Read-only | ✓ | ✗ | ✗ |
Monitoring
Logs
Server logs include:- Request method and path
- Response status codes
- Authentication attempts
- Error details
Metrics
Monitor these endpoints:GET /healthz- Health checkGET /v1/recipes- Recipe count
Environment Variables
| Variable | Description |
|---|---|
PRAISONAI_REGISTRY_TOKEN | Default authentication token |
PRAISONAI_REGISTRY_PATH | Default registry directory |
Troubleshooting
Port Already in Use
Permission Denied
Authentication Errors
Related
- Recipe Registry - Python API reference
- Recipe Registry API - HTTP API endpoints
- Recipe CLI - CLI commands

