1 parent 478b8a9 commit 11ae20bCopy full SHA for 11ae20b
1 file changed
docker-compose.yml
@@ -93,12 +93,20 @@ services:
93
echo "Updated config:"
94
grep 'name =' /etc/shairport-sync.conf
95
96
+ # Debug: Check PulseAudio access
97
+ echo "Checking PulseAudio connection..."
98
+ export PULSE_SERVER=$${PULSE_SERVER}
99
+ echo "PULSE_SERVER is: $${PULSE_SERVER}"
100
+
101
+ # Test if we can connect to pulse
102
+ pactl info || echo "Warning: Could not connect to PulseAudio"
103
104
# Wait a moment for system to be ready
- sleep 2
105
+ sleep 5
106
107
# Start shairport-sync directly with verbose output
- echo "Starting shairport-sync directly..."
- exec shairport-sync -c /etc/shairport-sync.conf -v -d
108
+ echo "Starting shairport-sync..."
109
+ exec shairport-sync -c /etc/shairport-sync.conf -v
110
depends_on:
111
- homespeaker.server2
112
0 commit comments