- Added a comment for the UMASK environment variable in docker-compose.yml - Clarified the purpose of UMASK: to set default file permissions for newly created files in the container - Explained the format and behavior of UMASK (e.g., 0022 for user read/write, others read-only)
16 lines
668 B
YAML
Executable File
16 lines
668 B
YAML
Executable File
name: spotizerr
|
|
|
|
services:
|
|
spotizerr:
|
|
volumes:
|
|
- ./creds:/app/creds
|
|
- ./config:/app/config
|
|
- ./downloads:/app/downloads # <-- Change this for your music library dir
|
|
ports:
|
|
- 7171:7171
|
|
image: cooldockerizer93/spotizerr
|
|
environment:
|
|
- PUID=1000 # Replace with your desired user ID | Remove both if you want to run as root (not recommended, might result in unreadable files)
|
|
- PGID=1000 # Replace with your desired group ID | The user must have write permissions in the volume mapped to /app/downloads
|
|
- UMASK=0022 # Optional: Sets the default file permissions for newly created files within the container.
|