Initial commit

This commit is contained in:
Daniel Kluge
2022-11-06 19:28:31 +01:00
commit 1c82d159b8
6 changed files with 142 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
version: '3'
volumes:
cache:
services:
librespot:
image: librespot
build:
context: ./librespot
container_name: librespot
restart: unless-stopped
network_mode: host
volumes:
- ./librespot/config.toml:/app/config.toml
- cache:/app/cache
healthcheck:
test: ["CMD-SHELL", "wget http://localhost:24877/instance --no-verbose --tries=1 || exit 1"]
interval: 10s
timeout: 5s
retries: 5
devices:
- /dev/snd:/dev/snd
librespot-to-mqtt:
image: librespot-to-mqtt
build:
context: ./librespot-to-mqtt
container_name: librespot-to-mqtt
restart: unless-stopped
network_mode: host
volumes:
- ./librespot-to-mqtt/secrets.mjs:/app/secrets.mjs
depends_on:
- librespot