docs(website): change default environment variable for REDIS_RUN var

This commit is contained in:
raiper34
2025-01-26 23:34:34 +01:00
parent 3b053df168
commit f539a22757
+10 -10
View File
@@ -2,13 +2,13 @@
some behaviour and settings of Spooty can be configured using environment variables and `.env` file. some behaviour and settings of Spooty can be configured using environment variables and `.env` file.
Name | Default | Description | Name | Default | Description |
--- |---------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------| ----------------|---------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
DB_PATH | `./config/db.sqlite` (relative to backend) | Path where Spooty database will be stored | DB_PATH | `./config/db.sqlite` (relative to backend) | Path where Spooty database will be stored |
FE_PATH | `../frontend/browser` (relative to backend) | Path to frontend part of application | FE_PATH | `../frontend/browser` (relative to backend) | Path to frontend part of application |
DOWNLOADS_PATH | `./downloads` (relative to backend) | Path where downaloded files will be stored | DOWNLOADS_PATH | `./downloads` (relative to backend) | Path where downaloded files will be stored |
FORMAT | `mp3` | Format of downloaded files (currently fully supported only `mp3` but you can try whatever you want from [ffmpeg](https://ffmpeg.org/ffmpeg-formats.html#Muxers)) | FORMAT | `mp3` | Format of downloaded files (currently fully supported only `mp3` but you can try whatever you want from [ffmpeg](https://ffmpeg.org/ffmpeg-formats.html#Muxers)) |
PORT | 3000 | Port of Spooty server | PORT | 3000 | Port of Spooty server |
REDIS_PORT | 6379 | Port of Redis server | REDIS_PORT | 6379 | Port of Redis server |
REDIS_HOST | localhost | Host of Redis server | REDIS_HOST | localhost | Host of Redis server |
RUN_REDIS | true | Whenever Redis server should be started from backend (recommended for Docker environment) | RUN_REDIS | false | Whenever Redis server should be started from backend (recommended for Docker environment) |