name: riffplayer services: riffplayer: build: . image: riffplayer:latest ports: - "4533:4533" environment: DB_PATH: /data/riffplayer.db COVERS_DIR: /data/covers # Override defaults before first run: # RIFFPLAYER_ADMIN_USER: admin # RIFFPLAYER_ADMIN_PASSWORD: changeme volumes: - riffplayer_data:/data # Mount your music library here (read-only is fine): - ./test-music:/music:ro restart: unless-stopped healthcheck: test: - CMD - node - -e - "fetch('http://localhost:4533/rest/ping.view?f=json').then(r=>r.ok?process.exit(0):process.exit(1)).catch(()=>process.exit(1))" interval: 30s timeout: 5s start_period: 15s retries: 3 volumes: riffplayer_data: