wyoming/docker-compose.yml aktualisiert
This commit is contained in:
1 parent
bd683b0b02
commit
91913b9377
1 file changed
+14
-30
+14
-30
@@ -1,19 +1,8 @@
|
||||
services:
|
||||
# 0. Network Anchor: Hält die gemeinsame macvlan IP (${SENS_IP}) für alle Wyoming-Container
|
||||
wyoming-net:
|
||||
image: alpine:latest
|
||||
container_name: wyoming-net
|
||||
command: sleep infinity
|
||||
networks:
|
||||
sens_network:
|
||||
ipv4_address: ${SENS_IP}
|
||||
restart: unless-stopped
|
||||
|
||||
# 1. Whisper: Sprache-zu-Text (erkennt Deutsch und Englisch automatisch)
|
||||
wyoming-whisper:
|
||||
image: rhasspy/wyoming-whisper:latest
|
||||
container_name: wyoming-whisper
|
||||
command: --uri tcp://0.0.0.0:${WHISPER_PORT:-10300}
|
||||
volumes:
|
||||
- ${WHISPER_DATA_DIR:-/opt/docker/wyoming/whisper}:/data
|
||||
environment:
|
||||
@@ -23,52 +12,47 @@ services:
|
||||
- WYO_WHISPER_LANGUAGE=${WYO_WHISPER_LANGUAGE:-de}
|
||||
- WYO_WHISPER_BEAM_SIZE=${WYO_WHISPER_BEAM_SIZE:-2}
|
||||
- OMP_NUM_THREADS=${WHISPER_THREADS:-4}
|
||||
network_mode: "service:wyoming-net"
|
||||
depends_on:
|
||||
- wyoming-net
|
||||
networks:
|
||||
- docker_internal
|
||||
restart: unless-stopped
|
||||
|
||||
# 2a. Piper EN: Text-zu-Sprache (Jarvis)
|
||||
wyoming-piper:
|
||||
image: rhasspy/wyoming-piper:latest
|
||||
container_name: wyoming-piper
|
||||
command: --voice en_US-Jarvis_Real-medium --uri tcp://0.0.0.0:${PIPER_EN_PORT:-10200}
|
||||
command: --voice en_US-Jarvis_Real-medium
|
||||
volumes:
|
||||
- ${PIPER_EN_DATA_DIR:-/opt/docker/wyoming/piper}:/data
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
network_mode: "service:wyoming-net"
|
||||
depends_on:
|
||||
- wyoming-net
|
||||
networks:
|
||||
- docker_internal
|
||||
restart: unless-stopped
|
||||
|
||||
# 2b. Piper DE: Text-zu-Sprache (Thorsten)
|
||||
wyoming-piper-de:
|
||||
image: rhasspy/wyoming-piper:latest
|
||||
container_name: wyoming-piper-de
|
||||
command: --voice de_DE-thorsten-medium --uri tcp://0.0.0.0:${PIPER_DE_PORT:-10222}
|
||||
command: --voice de_DE-thorsten-medium
|
||||
volumes:
|
||||
- ${PIPER_DE_DATA_DIR:-/opt/docker/wyoming/piper-de}:/data
|
||||
- ${PIPER_DE_DATA_DIR:-/opt/docker/wyoming/piper}:/data
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
network_mode: "service:wyoming-net"
|
||||
depends_on:
|
||||
- wyoming-net
|
||||
networks:
|
||||
- docker_internal
|
||||
restart: unless-stopped
|
||||
|
||||
# 3. openWakeWord: Erkennt das Aktivierungswort
|
||||
wyoming-openwakeword:
|
||||
image: rhasspy/wyoming-openwakeword:latest
|
||||
container_name: wyoming-openwakeword
|
||||
command: --uri tcp://0.0.0.0:${WAKEWORD_PORT:-10400}
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
network_mode: "service:wyoming-net"
|
||||
depends_on:
|
||||
- wyoming-net
|
||||
networks:
|
||||
- docker_internal
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
sens_network:
|
||||
name: sens_macvlan
|
||||
external: true
|
||||
docker_internal:
|
||||
name: docker_internal
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user