-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (25 loc) · 966 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
25 lines (25 loc) · 966 Bytes
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
services:
syncwave:
build: .
image: syncwave:latest
container_name: syncwave
restart: unless-stopped
ports:
- "3000:3000"
environment:
- PUBLIC_URL=${PUBLIC_URL:-http://localhost:3000}
- PORT=3000
- CACHE_DIR=/app/cache
- DATA_DIR=/app/data
# On a VPS, mount a cookies file and point this at it for reliable playback:
- YTDLP_COOKIES_FILE=${YTDLP_COOKIES_FILE:-}
# Cloud IPs get bot-checked. Syncwave tries direct first and falls back
# through a proxy pool only when refused — see DEPLOY.md.
- WEBSHARE_API_KEY=${WEBSHARE_API_KEY:-}
- YTDLP_PROXY_LIST=${YTDLP_PROXY_LIST:-}
- YTDLP_PROXY=${YTDLP_PROXY:-}
volumes:
- ./cache:/app/cache # resolved audio (72h retention)
- ./data:/app/data # durable rooms, settings, cache index
# Optional: provide a YouTube cookies export for datacenter reliability.
# - ./cookies.txt:/app/cookies.txt:ro