Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (68 loc) · 2.89 KB
/
Copy pathdocker-compose.yml
File metadata and controls
84 lines (68 loc) · 2.89 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3.8'
services:
vuio:
network_mode: host
image: ghcr.io/vuiodev/vuio:latest
container_name: vuio-server-local
restart: unless-stopped
# Add capabilities for better multicast support
cap_add:
- NET_ADMIN
- NET_RAW
# Ensure container has access to network interfaces
privileged: false # Start with false, can be changed to true if needed
volumes:
# Persist database
- ./vuio-data:/data
# Mount your media library (always read-only)
# VuIO enforces read-only access to media files at the application level
# Docker :ro mount provides additional security layer
# Example 1: Single media directory
- ./test-media:/media
# Example 2: Multiple media directories
# Mount each directory and configure via environment variable:
# - /path/to/movies:/media/movies
# - /path/to/tv-shows:/media/tv
# - /path/to/music:/media/music
# Then set: VUIO_MEDIA_DIRS=/media/movies,/media/tv,/media/music
# Example 3: Network storage (NFS/SMB)
# - type: bind
# source: /mnt/nas/media
# target: /media
environment:
# Server Configuration
- VUIO_PORT=8080
# The Svelte browser interface, on its own listener. Set VUIO_WEB_UI=0 to disable.
- VUIO_WEB_PORT=8090
# Metadata provider keys, if you have them. See .env.example for the full
# list; a provider with no key is simply skipped.
# - VUIO_TMDB_API_KEY=
- VUIO_INTERFACE=0.0.0.0
- VUIO_SERVER_NAME=VuIO
# Fixed UUID for consistency.
# CHANGE THIS if running multiple instances on same LAN
- VUIO_UUID=550e8400-e29b-41d4-a716-446655440000
- VUIO_IP=192.168.1.173 # Required for Docker host networking
# Enable administrative authentication
# - VUIO_AUTH=true
# MCP server, at POST /mcp — lets an AI assistant browse, search and cast.
# - VUIO_MCP_ENABLED=true
# - VUIO_MCP_READ_ONLY=false # Hide every mutating and casting tool
# - VUIO_MCP_REQUIRE_AUTH=false # Demand a bearer token even without VUIO_AUTH
# Media Configuration
- VUIO_MEDIA_DIRS=/media # Comma-separated for multiple dirs: /media/movies,/media/tv,/media/music
# - VUIO_SUPPORTED_EXTENSIONS=mp4,mkv,flac # Replace the global scanned-extension list
- VUIO_SCAN_ON_STARTUP=true
- VUIO_WATCH_CHANGES=true
- VUIO_CLEANUP_DELETED=true
# Network Configuration
- VUIO_MULTICAST_TTL=4
- VUIO_ANNOUNCE_INTERVAL=300
# Database Configuration
- VUIO_DB_PATH=/data/vuio.db
- VUIO_DB_VACUUM=false
- VUIO_DB_BACKUP=true
# Database configuration (optional)
# - VUIO_DB_CACHE_MB=128 # Megabytes of the index kept cached (default: 128)
# Enable debug logging
- RUST_LOG=debug