init
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# HEY, YOU! READ THE DOCS BEFORE YOU DO ANYTHING!
|
||||
# https://spotizerr.rtfd.io
|
||||
|
||||
name: spotizerr
|
||||
services:
|
||||
spotizerr:
|
||||
image: cooldockerizer93/spotizerr
|
||||
user: "1000:1000" # Spotizerr user:group ids
|
||||
volumes:
|
||||
# Ensure these directories and the .cache file exist and are writable by the container user
|
||||
- ./services/spotizerr/data:/app/data # data directory, contains config, creds, watch, history
|
||||
- /mnt/qnas_vault/Music:/app/downloads # downloads directory, contains downloaded files
|
||||
- ./services/spotizerr/logs:/app/logs # logs directory, contains logs
|
||||
- ./services/spotizerr/.cache:/app/.cache # cache file
|
||||
ports:
|
||||
# Port to expose the app on
|
||||
- 7171:7171
|
||||
container_name: spotizerr-app
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
# Ensure you have a .env file in the root of the project, with the correct values
|
||||
- .env
|
||||
depends_on:
|
||||
- redis
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: spotizerr-redis
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
command: sh -c 'redis-server --requirepass "$REDIS_PASSWORD" --appendonly yes'
|
||||
volumes:
|
||||
redis-data:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user