This commit is contained in:
2025-09-22 13:19:41 +02:00
parent 53668e986b
commit a5607c450b
16 changed files with 245 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
mac-audio
hub.pi-farm.home64.de
0
1
linux/amd64
yes
no
no
no

View File

@@ -0,0 +1,22 @@
# Basis-Image verwenden
FROM debian:latest
# Paketlisten aktualisieren und notwendige Pakete installieren
RUN apt-get update && \
apt-get install -y --no-install-recommends pulseaudio-utils alsa-utils git python3-venv && \
apt-get clean && \
mkdir /data && \
git clone https://github.com/rhasspy/wyoming-satellite.git && \
cd wyoming-satellite/ && \
python3 -m venv .venv && \
.venv/bin/pip3 install --upgrade pip && \
.venv/bin/pip3 install --upgrade wheel setuptools && \
.venv/bin/pip3 install -f 'https://synesthesiam.github.io/prebuilt-apps/' -r requirements.txt -r requirements_audio_enhancement.txt -r requirements_vad.txt
# PulseAudio-Konfiguration im Container vorbereiten
# Hier wird die Umgebung für PulseAudio konfiguriert
ENV PULSE_SERVER=host.docker.internal
# Container-Eintragspunkt: Wechsel zur Bash für eine interaktive Sitzung
CMD ["/bin/bash"]

View File

@@ -0,0 +1,12 @@
version: '3'
services:
debian_audio:
image: hub.pi-farm.home64.de/mac-audio:0.1
# build: .
container_name: debian_audio_container
environment:
- PULSE_SERVER=host.docker.internal # Verweist auf den PulseAudio-Server des Hosts
volumes:
- /Users/meik/docker/wyoming-satellite/data:/data # Bindet das Host-Verzeichnis ./data an das Container-Verzeichnis /data
command: tail -f /dev/null
#command: /wyoming-satellite/script/run --name 'my satellite' --uri 'tcp://0.0.0.0:10700' --mic-command 'parecord --device=Channel_1 -r 16000' --snd-command 'paplay -r 22050 -c 1 -f S16_LE -t raw'