# Add the shairport-sync user to the pre-existing audio group, which has ID 29, for access to the ALSA stuff
RUN addgroup -g 29 docker_audio && addgroup shairport-sync docker_audio && addgroup shairport-sync audio
-COPY ./docker/shairport-sync.conf /etc/shairport-sync.conf
COPY ./docker/start.sh /
RUN chmod +x ./start.sh
restart: unless-stopped
devices:
- "/dev/snd"
- volumes:
- - ./volumes/shairport-sync/shairport-sync.conf:/etc/shairport-sync.conf
\ No newline at end of file
+ # volumes:
+ # - ./volumes/shairport-sync/shairport-sync.conf:/etc/shairport-sync.conf # Customised Shairport Sync configuration file.
\ No newline at end of file
+++ /dev/null
-# Temp sample Configuration File for Shairport Sync on a Raspberry Pi using the built-in audio DAC.
-alsa =
-{
- output_device = "hw:0";
- # Could also be hw:1. aplay -l should help identify the correct one.
- # e.g. card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
- # card x where x is the number to use above in hw:x
- mixer_control_name = "Headphone";
-};
\ No newline at end of file