-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 1.52 KB
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (39 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
plexmix:
build: .
ports:
- "3000:3000"
- "8000:8000"
# Make host.docker.internal resolve on Linux too (it works out of the box only
# on Docker Desktop for Mac/Windows).
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- plexmix-data:/data
# Mount your music library for audio analysis (read-only)
# - /path/to/music:/music:ro
environment:
# Override PLEX_URL in your .env; the default targets the Docker host.
- PLEX_URL=${PLEX_URL:-http://host.docker.internal:32400}
- PLEX_TOKEN=${PLEX_TOKEN}
- GOOGLE_API_KEY=${GOOGLE_API_KEY:-}
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- COHERE_API_KEY=${COHERE_API_KEY:-}
# UI port configuration (uncomment and adjust if using non-default ports)
# - PLEXMIX_UI_PORT=3000
# - PLEXMIX_BACKEND_PORT=8000
# Set PLEXMIX_API_URL when mapping to different external ports:
# - PLEXMIX_API_URL=http://myhost:8154
# Set PLEXMIX_ALLOWED_HOSTS for custom domain access (reverse proxy):
# - PLEXMIX_ALLOWED_HOSTS=plexmix.example.com
# Audio path remapping: translate Plex paths to local container paths
# - AUDIO_PATH_PREFIX_FROM=/data/music
# - AUDIO_PATH_PREFIX_TO=/music
# MusicBrainz enrichment during sync
# - MUSICBRAINZ_ENRICH_ON_SYNC=true
# - MUSICBRAINZ_CONTACT_EMAIL=your@email.com
restart: unless-stopped
volumes:
plexmix-data: