Configuration Reference
RaisinDB server configuration options.
Configuration File
Location: ~/.config/raisindb/config.toml
Server Configuration
[server]
host = "0.0.0.0"
http_port = 8080
pgwire_port = 5432
Storage Configuration
[storage]
type = "rocksdb" # or "mongodb", "postgres", "memory"
path = "/var/lib/raisindb/data"
Authentication
[auth]
mode = "password" # or "api_key", "oidc", "none"
secret_key = "your-secret-key"
token_expiry = 3600 # seconds
OIDC Configuration
[auth.oidc]
enabled = true
provider = "google"
client_id = "your-client-id"
client_secret = "your-client-secret"
issuer_url = "https://accounts.google.com"
Tenants
[tenants.default]
enabled = true
max_repositories = 100
[tenants.production]
enabled = true
max_repositories = 50
Logging
[logging]
level = "info" # debug, info, warn, error
format = "json" # or "text"
output = "stdout" # or file path
Performance
[performance]
max_connections = 1000
query_timeout = 30 # seconds
max_query_results = 10000
Environment Variables
Override config with environment variables:
RAISINDB_HTTP_PORT- HTTP portRAISINDB_PGWIRE_PORT- PostgreSQL portRAISINDB_STORAGE_PATH- Data directoryRAISINDB_AUTH_MODE- Authentication modeRAISINDB_LOG_LEVEL- Log level