Skip to content

Commit 167b2fe

Browse files
Bot Updating Documentation
1 parent fdddd5c commit 167b2fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/images/docker-your_spotify.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ services:
6666
- APP_URL=http://localhost
6767
- SPOTIFY_PUBLIC=
6868
- SPOTIFY_SECRET=
69+
- SPOTIFY_API_DELAY_MS=2000
6970
- CORS=http://localhost:80,https://localhost:443
7071
- MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify
7172
ports:
@@ -85,6 +86,7 @@ docker run -d \
8586
-e APP_URL=http://localhost \
8687
-e SPOTIFY_PUBLIC= \
8788
-e SPOTIFY_SECRET= \
89+
-e SPOTIFY_API_DELAY_MS=2000 \
8890
-e CORS=http://localhost:80,https://localhost:443 \
8991
-e MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify \
9092
-p 80:80 \
@@ -114,6 +116,7 @@ Containers are configured using parameters passed at runtime (such as those abov
114116
| `APP_URL=http://localhost` | The protocol and hostname where the app will be accessed. |
115117
| `SPOTIFY_PUBLIC=` | Your Spotify application client ID. |
116118
| `SPOTIFY_SECRET=` | Your Spotify application secret. |
119+
| `SPOTIFY_API_DELAY_MS=2000` | Minimum delay in milliseconds between each spotify request. Can help with hitting 429 when importing data. |
117120
| `CORS=http://localhost:80,https://localhost:443` | Allowed CORS sources, set to `all` to allow any source. |
118121
| `MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify` | Set mongodb endpoint address/port. |
119122

0 commit comments

Comments
 (0)