thisworksgit status
This commit is contained in:
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install -y squeezelite libasound2 alsa-utils && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
@@ -1,26 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
squeezelite:
|
squeezelite:
|
||||||
image: giof71/squeezelite:stable
|
build: .
|
||||||
container_name: squeezelite
|
container_name: squeezelite
|
||||||
devices:
|
|
||||||
- /dev/snd:/dev/snd
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host
|
network_mode: host
|
||||||
# environment:
|
devices:
|
||||||
# SQUEEZELITE_MODE: ALSA
|
- /dev/snd:/dev/snd
|
||||||
# SQUEEZELITE_NAME: ThinkBook-Squeeze
|
|
||||||
# SQUEEZELITE_SERVER_PORT: "lmsstack_lms:${LMS_HTTP_PORT}"
|
|
||||||
# SQUEEZELITE_AUDIO_DEVICE: default
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/asound.conf:/etc/asound.conf:ro
|
- /etc/asound.conf:/etc/asound.conf:ro
|
||||||
- /var/lib/alsa:/var/lib/alsa
|
- /var/lib/alsa:/var/lib/alsa
|
||||||
command:
|
entrypoint: ["/usr/bin/squeezelite"]
|
||||||
- /opt/squeezelite
|
command: ["-n", "ThinkBook DAC", "-o", "hw:1,0", "-s", "10.10.10.1", "-d", "all=info"]
|
||||||
- -n
|
|
||||||
- ThinkBook DAC
|
|
||||||
- -o
|
|
||||||
- hw:1,0
|
|
||||||
- -s
|
|
||||||
- 10.10.10.1
|
|
||||||
- -d
|
|
||||||
- all=info
|
|
||||||
|
|||||||
Reference in New Issue
Block a user