Dockerized version of hue-sync shairport-sync fork.
# Build version master
docker build -t knapoc/hue-sync .
# Build other version
docker build --build-arg SHAIRPORT_VERSION=master -t knapoc/hue-sync:master .
docker run -d \
--name=container_name
--net=host \
--device=/dev/snd:/dev/snd \
-e "HUE_BRIDGE_IP=0.0.0.0" \
-e "BRIDGE_ACCESS_IDENTIFIER=randomidentifier" \
-e "HUE_LAMP_COUNT=1,2,3" \
-e "AIRPLAY_NAME=hue-sync-docker" \
knapoc/hue-sync
version: '2'
services:
shairportSync:
restart: always
image: knapoc/hue-sync
network_mode: host
environment:
- "HUE_BRIDGE_IP=0.0.0.0"
- "BRIDGE_ACCESS_IDENTIFIER=randomidentifier"
- "HUE_LAMP_COUNT=1,2,3"
- "AIRPLAY_NAME=hue-sync-docker"
devices:
- "/dev/snd:/dev/snd"
--net=host must be run in host mode--device=/dev/snd:/dev/snd share host alsa system with container. Does not require --privileged as -v /dev/snd:/dev/snd wouldHUE_BRIDGE_IP: the ip of your hue bridgeBRIDGE_ACCESS_IDENTIFIER: your developer identifier. For further information please check this link.HUE_LAMP_COUNT: Lights that are going to be controlled (The number of the lamp as it is shown in your hue App).AIRPLAY_NAME: sets the AirPlay device name. Defaults to hue-sync-docker.HUE_SYNC_PORT: Listen for play requests on port. The default is to use port 5001.Content type
Image
Digest
Size
9.6 MB
Last updated
over 8 years ago
docker pull knapoc/hue-sync