Add docker-compose.yml
This commit is contained in:
commit
a3ea8ff342
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
name: spotizerr
|
||||||
|
|
||||||
|
services:
|
||||||
|
spotizerr:
|
||||||
|
volumes:
|
||||||
|
- ./creds:/media/server/spotizeer/creds
|
||||||
|
- ./config:/media/server/spotizeer/config
|
||||||
|
- ./downloads:/media/server/spotizeer/downloads # <-- Change this for your music library dir
|
||||||
|
- ./logs:/media/server/spotizeer/logs # <-- Volume for persistent logs
|
||||||
|
ports:
|
||||||
|
- 7171:7171
|
||||||
|
image: cooldockerizer93/spotizerr
|
||||||
|
container_name: spotizerr-app
|
||||||
|
restart: unless-stopped
|
||||||
|
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.
|
||||||
|
- REDIS_HOST=redis
|
||||||
|
- REDIS_PORT=6379
|
||||||
|
- REDIS_DB=0
|
||||||
|
- REDIS_URL=redis://redis:6379/0
|
||||||
|
- REDIS_BACKEND=redis://redis:6379/0
|
||||||
|
- EXPLICIT_FILTER=false # Set to true to filter out explicit content
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:alpine
|
||||||
|
container_name: spotizerr-redis
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- redis-data:/data
|
||||||
|
command: redis-server --appendonly yes
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
redis-data:
|
||||||
|
driver: local
|
||||||
Loading…
Reference in New Issue
Block a user