Files
mice/docker-compose.yml

45 lines
1.1 KiB
YAML

version: '3.8'
services:
mice:
container_name: mice-public
image: sillyangel/mice:dev-latest
ports:
- "40625:40625"
environment:
# Navidrome Server Configuration
# These will be injected at runtime using the entrypoint script
- NEXT_PUBLIC_NAVIDROME_URL=${NAVIDROME_URL:-}
- NEXT_PUBLIC_NAVIDROME_USERNAME=${NAVIDROME_USERNAME:-}
- NEXT_PUBLIC_NAVIDROME_PASSWORD=${NAVIDROME_PASSWORD:-}
# Application Port
- PORT=40625
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:40625"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped
navidrome:
container_name: navidrome
image: deluan/navidrome:latest
ports:
- "4533:4533"
environment:
- ND_SCANINTERVAL=1m
- ND_LOGLEVEL=info
- ND_SESSIONTIMEOUT=24h
- ND_PORT=4533
# - ND_BASEURL=/navidrome
# - ND_MUSICFOLDER=/music
volumes:
- navidrome_data:/data
- navidrome_music:/music
restart: unless-stopped