Musicseerr/docker-compose.dev.yml

30 lines
1 KiB
YAML
Raw Normal View History

services:
musicseerr:
build:
context: .
dockerfile: Dockerfile
container_name: musicseerr-dev
environment:
- PUID=1000 # User ID — run `id` on your host to find yours
- PGID=1000 # Group ID — run `id` on your host to find yours
# Unraid: use 99/100 (nobody:users) unless you changed Unraid's defaults.
# If using Docker --user, PUID/PGID are ignored (user mapping is external).
- PORT=8688 # Internal port (must match the right side of "ports" below)
- TZ=Etc/UTC # Timezone — e.g. America/New_York, Europe/London
ports:
- "8689:8688" # <host-port>:<container-port> — change the left side to remap
volumes:
- config:/app/config
- cache:/app/cache
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8688/health"]
interval: 30s
timeout: 10s
start_period: 15s
retries: 3
volumes:
config:
cache: