mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
The SteamGridDB API has a bug, where the `total` field for the paginated endpoint `/v2/grids/game/:gameId` sometimes double/triple counts results (e.g. returning `total=172` when there are actually 86 results). To avoid this issue, this change relies on each page's number of results. If the received page has less than the requested amount of grids, we know that is the last page.
44 lines
806 B
Plaintext
44 lines
806 B
Plaintext
ROMM_BASE_PATH=/path/to/romm_mock
|
||
VITE_BACKEND_DEV_PORT=5000
|
||
|
||
# Gunicorn (optional)
|
||
ROMM_HOST=localhost
|
||
GUNICORN_WORKERS=4 # (2 × CPU cores) + 1
|
||
|
||
# IGDB credentials
|
||
IGDB_CLIENT_ID=
|
||
IGDB_CLIENT_SECRET=
|
||
|
||
# Mobygames
|
||
MOBYGAMES_API_KEY=
|
||
|
||
# SteamGridDB
|
||
STEAMGRIDDB_API_KEY=
|
||
|
||
# Database config
|
||
DB_HOST=127.0.0.1
|
||
DB_PORT=3306
|
||
DB_NAME=romm
|
||
DB_USER=romm
|
||
DB_PASSWD=
|
||
DB_ROOT_PASSWD=
|
||
|
||
# Redis config
|
||
REDIS_HOST=127.0.0.1
|
||
REDIS_PORT=6379
|
||
|
||
# Authentication
|
||
ROMM_AUTH_USERNAME=admin
|
||
ROMM_AUTH_PASSWORD=admin
|
||
ROMM_AUTH_SECRET_KEY=
|
||
|
||
# Filesystem watcher (optional)
|
||
ENABLE_RESCAN_ON_FILESYSTEM_CHANGE=true
|
||
RESCAN_ON_FILESYSTEM_CHANGE_DELAY=5
|
||
|
||
# Periodic Tasks (optional)
|
||
ENABLE_SCHEDULED_RESCAN=true
|
||
SCHEDULED_RESCAN_CRON=0 3 * * *
|
||
ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB=true
|
||
SCHEDULED_UPDATE_SWITCH_TITLEDB_CRON=0 4 * * *
|