/docker-shairport-sync

Based on https://github.com/mikebrady/shairport-sync

Primary LanguageDockerfile

GitHub Workflow Status Docker Image Version (latest by date) Docker Image Size (latest by date)

Based on shairport-sync, this docker image follows the latest update from the source. Currently being used on a Raspiberry Pi 4.

Built with

--with-alsa
--with-soxr
--with-avahi
--with-mqtt-client
--with-ssl=openssl

Run with

version: '3'
services:
  shairport-sync:
    container_name: shairport-sync
    restart: always
    network_mode: host
    devices:
      - /dev/snd
    environment:
      - AIRPLAY_NAME=YOUR-DECIDE
    volumes:
      - /YOUR-DIR/shairport-sync.conf:/shairport-sync.conf # Replace with your config file
    image: xmflsct/shairport-sync:latest

Sample configuration file can be found here. For my configuration for Raspiberry Pi 4 sound out from HDMI 0, you can refer to the data folder.