Skip to content

Instantly share code, notes, and snippets.

@GioF71
Last active March 14, 2022 19:19
Show Gist options
  • Save GioF71/3b5906bc2da1ea291d33fd36b6a3f636 to your computer and use it in GitHub Desktop.
Save GioF71/3b5906bc2da1ea291d33fd36b6a3f636 to your computer and use it in GitHub Desktop.
Multiple Configurations (aka Players) on two dacs (x20 and dac) with squeezelite-docker
---
version: '3.3'
# More details here https://github.com/GioF71/squeezelite-docker
# This stack configures three players on dac 'x20' and two players on dac 'DAC'
# lms.homelab.com is where my logitech media server is.
# Change the SQUEEZELITE_SERVER_PORT value according to your network configuration
# Remember to specify SQUEEZELITE_SERVER_PORT or discovery will not find all the configured players
services:
squeezelite-x20-goldilocks-4x-nodsd:
image: giof71/squeezelite:latest
container_name: squeezelite-x20-goldilocks-4x-nodsd
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
environment:
- PRESET=x20,archimago-goldilocks,rates_up_to_192k
- SQUEEZELITE_EXCLUDE_CODECS=dsd
- SQUEEZELITE_NAME=x20-goldilocks-4x-nodsd
- SQUEEZELITE_SERVER_PORT=lms.homelab.com
squeezelite-x20-goldilocks:
image: giof71/squeezelite:latest
container_name: squeezelite-x20-goldilocks
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
environment:
- PRESET=x20,archimago-goldilocks,rates_up_to_384k
- SQUEEZELITE_NAME=x20-goldilocks
- SQUEEZELITE_SERVER_PORT=lms.homelab.com
squeezelite-x20-vanilla:
image: giof71/squeezelite:latest
container_name: squeezelite-x20-vanilla
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
environment:
- PRESET=x20
- SQUEEZELITE_NAME=x20-vanilla
- SQUEEZELITE_SERVER_PORT=lms.homelab.com
squeezelite-dac-goldilocks:
image: giof71/squeezelite:latest
container_name: squeezelite-dac-goldilocks
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
environment:
- PRESET=dac,archimago-goldilocks,rates_up_to_384k
- SQUEEZELITE_NAME=dac-goldilocks
- SQUEEZELITE_SERVER_PORT=lms.homelab.com
squeezelite-dac-vanilla:
image: giof71/squeezelite:latest
container_name: squeezelite-dac-vanilla
restart: unless-stopped
devices:
- /dev/snd:/dev/snd
environment:
- PRESET=dac
- SQUEEZELITE_NAME=dac-vanilla
- SQUEEZELITE_SERVER_PORT=lms.homelab.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment