-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.windows.yml
More file actions
59 lines (49 loc) · 1.39 KB
/
Copy pathdocker-compose.windows.yml
File metadata and controls
59 lines (49 loc) · 1.39 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
version: '3.8'
# Windows-specific Docker Compose override
# Usage: docker-compose -f docker-compose.yml -f docker-compose.windows.yml up
services:
multiroom-audio:
build:
context: .
dockerfile: docker/Dockerfile
args:
- BUILDKIT_INLINE_CACHE=1
# Remove privileged mode and device mapping for Windows compatibility
privileged: false
devices: []
# Use bridge networking for better Windows compatibility
network_mode: "bridge"
ports:
- "8096:8096"
# Windows-specific environment variables
environment:
- ASPNETCORE_ENVIRONMENT=Development
# Override volumes for Windows paths
volumes:
# Use Windows-style volume mounts
- type: bind
source: ./config
target: /app/config
- type: bind
source: ./logs
target: /app/logs
# Remove audio group since it doesn't exist on Windows
user: "0"
group_add: []
# Windows-specific labels
labels:
- "com.docker.compose.platform=windows"
- "com.multiroom-audio.mode=network-audio"
# Health check that works on Windows
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8096/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
# Optional: Create named volumes for persistence
volumes:
multiroom_config:
driver: local
multiroom_logs:
driver: local