forked from jcharr1/roon-extension-denon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (43 loc) · 1.55 KB
/
docker-compose.yml
File metadata and controls
53 lines (43 loc) · 1.55 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
version: '3.8'
services:
roon-extension-denon:
image: ghcr.io/arthursoares/roon-extension-denon:latest
container_name: roon-denon-extension
restart: unless-stopped
# Network configuration
network_mode: host # Required for Roon discovery to work properly
# Optional: Mount volume for persistent configuration
volumes:
- ./data:/usr/src/app/data
# Environment variables (optional)
environment:
- NODE_ENV=production
- DEBUG=roon-extension-denon* # Enable debug logging (excludes raw receiver data)
# - DEBUG=roon-extension-denon*,roon-extension-denon:data # Include raw receiver data
# Health check
healthcheck:
test: ["CMD", "pgrep", "-f", "node app.js"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
# Alternative configuration using bridge network
# Use this if you want to isolate the container but may have discovery issues
roon-extension-denon-bridge:
image: ghcr.io/arthursoares/roon-extension-denon:latest
container_name: roon-denon-extension-bridge
restart: unless-stopped
profiles:
- bridge # Use with: docker-compose --profile bridge up
# Bridge network with port mapping (if needed)
# ports:
# - "3000:3000" # Uncomment if the extension exposes a port
volumes:
- ./data:/usr/src/app/data
environment:
- NODE_ENV=production
# - DEBUG=roon-extension-denon*
# DNS configuration for better network discovery
dns:
- 8.8.8.8
- 8.8.4.4