Skip to content

Commit

Permalink
Update docker compose file
Browse files Browse the repository at this point in the history
Added S6_KEEP_ENV to example, without it pulse connection won't happen
  • Loading branch information
HNKNTA committed Feb 26, 2024
1 parent 165431a commit 997ab43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ services:
network_mode: host
restart: unless-stopped
# environment:
# S6_KEEP_ENV: 1 # Allow S6 to pass environment variables from compose file
# PULSE_SERVER: unix:/tmp/pulseaudio.socket # Path for PulseAudio socket
# PULSE_COOKIE: /tmp/pulseaudio.cookie # Path for PulseAudio cookie
devices:
- "/dev/snd" # ALSA device
- "/dev/snd" # ALSA device, omit if using PulseAudio
# volumes:
# - ./volumes/shairport-sync/shairport-sync.conf:/etc/shairport-sync.conf # Customised Shairport Sync configuration file.
# - /run/user/1000/pulse/native:/tmp/pulseaudio.socket # PulseAudio socket when using that backend
Expand Down

0 comments on commit 997ab43

Please sign in to comment.