eerrrrrr
All checks were successful
CI - Build Tonehaus Docker image / tonehaus-ci-build (push) Successful in 1m57s
All checks were successful
CI - Build Tonehaus Docker image / tonehaus-ci-build (push) Successful in 1m57s
This commit is contained in:
20
README.md
20
README.md
@@ -31,6 +31,12 @@ docker compose exec php php bin/console app:promote-admin you@example.com
|
||||
|
||||
5) Visit `http://localhost:8000` to search for albums.
|
||||
|
||||
## Database driver
|
||||
|
||||
- Set `DATABASE_DRIVER=postgres` (default) to keep using the Postgres 16 container defined in `docker-compose.yml`.
|
||||
- Set `DATABASE_DRIVER=sqlite` to run against a self-contained SQLite file stored at `var/data/database.sqlite`.
|
||||
- When `DATABASE_DRIVER=sqlite`, the `DATABASE_URL` env var is ignored. Doctrine will automatically create and use the SQLite file; override the default location with `DATABASE_SQLITE_PATH` if needed.
|
||||
|
||||
## Features
|
||||
|
||||
- Spotify search with Advanced filters (album, artist, year range) and per-album aggregates (avg/count)
|
||||
@@ -45,17 +51,6 @@ docker compose exec php php bin/console app:promote-admin you@example.com
|
||||
## Rate limiting & caching
|
||||
|
||||
- Server-side Client Credentials; access tokens are cached.
|
||||
- Requests pass through a throttle and 429 Retry-After backoff. GET responses are cached.
|
||||
- Tunables (optional):
|
||||
|
||||
```bash
|
||||
# seconds per window (default 30)
|
||||
SPOTIFY_RATE_WINDOW_SECONDS=30
|
||||
# max requests per window (default 50)
|
||||
SPOTIFY_RATE_MAX_REQUESTS=50
|
||||
# max requests for sensitive endpoints (default 20)
|
||||
SPOTIFY_RATE_MAX_REQUESTS_SENSITIVE=20
|
||||
```
|
||||
|
||||
## Docs
|
||||
|
||||
@@ -67,8 +62,7 @@ See `/docs` for how-tos and deeper notes:
|
||||
- Spotify integration: `docs/04-spotify-integration.md`
|
||||
- Reviews and albums: `docs/05-reviews-and-albums.md`
|
||||
- Admin & site settings: `docs/06-admin-and-settings.md`
|
||||
- Rate limits & caching: `docs/07-rate-limits-and-caching.md`
|
||||
- Troubleshooting: `docs/08-troubleshooting.md`
|
||||
- Troubleshooting: `docs/07-troubleshooting.md`
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user