Configuration
Environment variables and configuration options for UnSearch.
Configure UnSearch using environment variables.
| Variable | Default | Description |
|---|
HOST | 0.0.0.0 | Server bind address |
PORT | 8000 | Server port |
ENVIRONMENT | production | development, staging, or production |
LOG_LEVEL | info | Logging level |
| Variable | Default | Description |
|---|
SEARXNG_URL | http://localhost:8080 | SearXNG instance URL |
DEFAULT_ENGINES | google | Default search engines |
| Variable | Default | Description |
|---|
DATABASE_URL | - | PostgreSQL connection string |
| Variable | Default | Description |
|---|
REDIS_URL | - | Redis connection string |
CACHE_TTL | 3600 | Cache TTL in seconds |
| Variable | Default | Description |
|---|
JWT_SECRET | - | JWT signing secret |
JWT_EXPIRY | 3600 | Token expiry in seconds |
| Variable | Default | Description |
|---|
STRIPE_SECRET_KEY | - | Stripe secret key |
STRIPE_WEBHOOK_SECRET | - | Webhook signing secret |