-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
35 lines (33 loc) · 1.14 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
35 lines (33 loc) · 1.14 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
version: '3.8'
# Development override for docker-compose.yml
# Usage: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
services:
multiroom-audio:
build:
context: .
dockerfile: docker/Dockerfile
volumes:
# Mount source code for live development (requires rebuild for C# changes)
- ./config:/app/config
- ./logs:/app/logs
environment:
- ASPNETCORE_ENVIRONMENT=Development
# ============================================
# Development/Testing Options
# ============================================
# Uncomment as needed:
#
# - MOCK_HARDWARE=true # Simulate audio devices and relay boards without hardware
# - LOG_LEVEL=debug # Verbose logging
#
# PulseAudio sample rate/format (applied at container startup):
# - PA_SAMPLE_RATE=192000 # Default: 48000
# - PA_SAMPLE_FORMAT=s32le # Default: float32le (options: s16le, s24le, s32le, float32le)
ports:
- "8096:8096"
# Override healthcheck for development
healthcheck:
interval: 10s
timeout: 5s
retries: 2
start_period: 10s