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:
|
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)
|
# 1. Whisper: Sprache-zu-Text (erkennt Deutsch und Englisch automatisch)
|
||||||
wyoming-whisper:
|
wyoming-whisper:
|
||||||
image: rhasspy/wyoming-whisper:latest
|
image: rhasspy/wyoming-whisper:latest
|
||||||
container_name: wyoming-whisper
|
container_name: wyoming-whisper
|
||||||
command: --uri tcp://0.0.0.0:${WHISPER_PORT:-10300}
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${WHISPER_DATA_DIR:-/opt/docker/wyoming/whisper}:/data
|
- ${WHISPER_DATA_DIR:-/opt/docker/wyoming/whisper}:/data
|
||||||
environment:
|
environment:
|
||||||
@@ -23,52 +12,47 @@ services:
|
|||||||
- WYO_WHISPER_LANGUAGE=${WYO_WHISPER_LANGUAGE:-de}
|
- WYO_WHISPER_LANGUAGE=${WYO_WHISPER_LANGUAGE:-de}
|
||||||
- WYO_WHISPER_BEAM_SIZE=${WYO_WHISPER_BEAM_SIZE:-2}
|
- WYO_WHISPER_BEAM_SIZE=${WYO_WHISPER_BEAM_SIZE:-2}
|
||||||
- OMP_NUM_THREADS=${WHISPER_THREADS:-4}
|
- OMP_NUM_THREADS=${WHISPER_THREADS:-4}
|
||||||
network_mode: "service:wyoming-net"
|
networks:
|
||||||
depends_on:
|
- docker_internal
|
||||||
- wyoming-net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# 2a. Piper EN: Text-zu-Sprache (Jarvis)
|
# 2a. Piper EN: Text-zu-Sprache (Jarvis)
|
||||||
wyoming-piper:
|
wyoming-piper:
|
||||||
image: rhasspy/wyoming-piper:latest
|
image: rhasspy/wyoming-piper:latest
|
||||||
container_name: wyoming-piper
|
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:
|
volumes:
|
||||||
- ${PIPER_EN_DATA_DIR:-/opt/docker/wyoming/piper}:/data
|
- ${PIPER_EN_DATA_DIR:-/opt/docker/wyoming/piper}:/data
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
network_mode: "service:wyoming-net"
|
networks:
|
||||||
depends_on:
|
- docker_internal
|
||||||
- wyoming-net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# 2b. Piper DE: Text-zu-Sprache (Thorsten)
|
# 2b. Piper DE: Text-zu-Sprache (Thorsten)
|
||||||
wyoming-piper-de:
|
wyoming-piper-de:
|
||||||
image: rhasspy/wyoming-piper:latest
|
image: rhasspy/wyoming-piper:latest
|
||||||
container_name: wyoming-piper-de
|
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:
|
volumes:
|
||||||
- ${PIPER_DE_DATA_DIR:-/opt/docker/wyoming/piper-de}:/data
|
- ${PIPER_DE_DATA_DIR:-/opt/docker/wyoming/piper}:/data
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
network_mode: "service:wyoming-net"
|
networks:
|
||||||
depends_on:
|
- docker_internal
|
||||||
- wyoming-net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# 3. openWakeWord: Erkennt das Aktivierungswort
|
# 3. openWakeWord: Erkennt das Aktivierungswort
|
||||||
wyoming-openwakeword:
|
wyoming-openwakeword:
|
||||||
image: rhasspy/wyoming-openwakeword:latest
|
image: rhasspy/wyoming-openwakeword:latest
|
||||||
container_name: wyoming-openwakeword
|
container_name: wyoming-openwakeword
|
||||||
command: --uri tcp://0.0.0.0:${WAKEWORD_PORT:-10400}
|
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
network_mode: "service:wyoming-net"
|
networks:
|
||||||
depends_on:
|
- docker_internal
|
||||||
- wyoming-net
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
sens_network:
|
docker_internal:
|
||||||
name: sens_macvlan
|
name: docker_internal
|
||||||
external: true
|
driver: bridge
|
||||||
Reference in new issue
Block a user