diff --git a/docs/getting-started/configuration.md b/docs/getting-started/configuration.md index 360437cc..246678c6 100644 --- a/docs/getting-started/configuration.md +++ b/docs/getting-started/configuration.md @@ -40,13 +40,13 @@ Routstr Core is configured via a single settings row in the database. Environmen | `EXCHANGE_FEE` | Exchange rate markup (1.005 = 0.5% fee) | `1.005` | ❌ | | `UPSTREAM_PROVIDER_FEE` | Provider fee markup (1.05 = 5% fee) | `1.05` | ❌ | -### Network Configuration +### Network & Discovery | Variable | Description | Default | Required | |----------|-------------|---------|----------| | `CORS_ORIGINS` | Comma-separated list of allowed CORS origins | `*` | ❌ | | `TOR_PROXY_URL` | SOCKS5 proxy URL for Tor connections | `socks5://127.0.0.1:9050` | ❌ | -| `RELAYS` | Comma-separated nostr relays for NIP-91 | defaults applied | ❌ | +| `RELAYS` | Comma-separated nostr relays used for provider discovery | sane defaults | ❌ | | `PROVIDERS_REFRESH_INTERVAL_SECONDS` | Provider cache refresh interval | `300` | ❌ | ### Logging Configuration diff --git a/scripts/crontab.example b/scripts/crontab.example index a24c839a..10ee202d 100644 --- a/scripts/crontab.example +++ b/scripts/crontab.example @@ -1,7 +1,5 @@ -REPO_DIR=/home/user/proxy -LOG_FILE=/home/user/proxy/update.log -* * * * * /home/user/proxy/scripts/auto_update.sh >/dev/null 2>&1 +# Example crontab entries for Routstr tasks -OUTPUT_FILE=/home/user/proxy/models.json -BASE_URL=https://openrouter.ai/api/v1 -0 * * * * python3 /home/user/proxy/scripts/models_meta.py >/dev/null 2>&1 +# Update models.json daily at 03:15 (optional) +# OUTPUT_FILE=/app/models.json SOURCE=openrouter +15 3 * * * /usr/local/bin/python /app/scripts/models_meta.py >> /var/log/cron.log 2>&1