| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- {
- "log_level": "info",
- "database": {
- "rpc_address": "${DB_ADDRESS:localhost:9004}",
- "timeout_ms": 5000,
- "max_retries": 3
- },
- "http": {
- "bind_address": "0.0.0.0",
- "port": 8090,
- "static_files": {
- "enabled": true,
- "path": "${WEBUI_PATH:webui/dist}"
- }
- },
- "auth": {
- "enabled": true,
- "jwt_secret": "${JWT_SECRET:change-me-in-production}",
- "access_token_lifetime_sec": 900,
- "refresh_token_lifetime_sec": 604800,
- "password_policy": {
- "min_length": 8,
- "require_number": true,
- "require_special": false
- }
- },
- "smtp": {
- "host": "${SMTP_HOST:}",
- "port": "${SMTP_PORT:587}",
- "username": "${SMTP_USER:}",
- "password": "${SMTP_PASSWORD:}",
- "from_address": "${SMTP_FROM:noreply@smartbotics.ai}",
- "from_name": "Smartbotic",
- "use_tls": true
- },
- "callerai": {
- "api_url": "${CALLERAI_API_URL:http://localhost:8080}",
- "api_key": "${CALLERAI_API_KEY:}",
- "timeout_sec": 30
- },
- "cors": {
- "enabled": true,
- "origins": ["*"],
- "methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
- "headers": ["Authorization", "Content-Type", "X-Requested-With"]
- },
- "rate_limit": {
- "enabled": true,
- "requests_per_minute": 200
- }
- }
|