mirror of
https://github.com/BillyOutlast/drop-docs-next.git
synced 2026-07-01 10:05:35 -04:00
31 lines
847 B
Plaintext
31 lines
847 B
Plaintext
---
|
|
title: IGDB
|
|
---
|
|
|
|
import { Steps } from "@astrojs/starlight/components";
|
|
|
|
IGDB is a game database run by Twitch. It is free to use, but requires a Twitch account.
|
|
|
|
<Steps>
|
|
|
|
1. Follow the instructions at [https://api-docs.igdb.com/#getting-started](https://api-docs.igdb.com/#getting-started)
|
|
|
|
:::tip
|
|
You must have a Twitch account to use IGDB.
|
|
:::
|
|
|
|
2. Assign the `IGDB_CLIENT_ID` and `IGDB_CLIENT_SECRET` environment variables in your `compose.yaml`:
|
|
|
|
```diff
|
|
drop:
|
|
image: ghcr.io/drop-oss/drop:latest
|
|
...
|
|
environment:
|
|
- DATABASE_URL=postgres://drop:drop@postgres:5432/drop
|
|
- EXTERNAL_URL=http://localhost:3000 # default, customise if accessing from another computer or behind a reverse proxy
|
|
+ - IGDB_CLIENT_ID=[your client ID]
|
|
+ - IGDB_CLIENT_SECRET=[your client secret]
|
|
```
|
|
|
|
</Steps>
|