33 lines
967 B
YAML
Executable File
33 lines
967 B
YAML
Executable File
name: spotizerr
|
|
services:
|
|
spotizerr:
|
|
image: cooldockerizer93/spotizerr
|
|
user: "1000:1000" # Spotizerr user:group ids
|
|
volumes:
|
|
# Ensure these dirs exist and are writable by the container user
|
|
- ./data:/app/data # data directory, contains config, creds, watch, history
|
|
- ./downloads:/app/downloads # downloads directory, contains downloaded files
|
|
- ./logs:/app/logs # logs directory, contains logs
|
|
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
|