chore: удалить Docker файлы (Dockerfile, docker-compose.yml, .dockerignore, скрипты)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
*
|
|
||||||
!pyproject.toml
|
|
||||||
!script/setup
|
|
||||||
!script/run
|
|
||||||
!wyoming_satellite/*.py
|
|
||||||
!wyoming_satellite/utils
|
|
||||||
!wyoming_satellite/VERSION
|
|
||||||
!docker/run
|
|
||||||
!sounds/*.wav
|
|
||||||
-23
@@ -1,23 +0,0 @@
|
|||||||
FROM python:3.11-slim-bookworm
|
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install --yes --no-install-recommends avahi-utils
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY sounds/ ./sounds/
|
|
||||||
COPY script/setup ./script/
|
|
||||||
COPY pyproject.toml ./
|
|
||||||
COPY wyoming_satellite/ ./wyoming_satellite/
|
|
||||||
|
|
||||||
RUN script/setup
|
|
||||||
|
|
||||||
COPY script/run ./script/
|
|
||||||
COPY docker/run ./
|
|
||||||
|
|
||||||
EXPOSE 10700
|
|
||||||
|
|
||||||
ENTRYPOINT ["/app/run"]
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
version: "3.8"
|
|
||||||
services:
|
|
||||||
microphone:
|
|
||||||
image: "rhasspy/wyoming-mic-external"
|
|
||||||
ports:
|
|
||||||
- "10600:10600"
|
|
||||||
devices:
|
|
||||||
- /dev/snd:/dev/snd
|
|
||||||
group_add:
|
|
||||||
- audio
|
|
||||||
command:
|
|
||||||
- "--device"
|
|
||||||
- "sysdefault"
|
|
||||||
- "--debug"
|
|
||||||
playback:
|
|
||||||
image: "rhasspy/wyoming-snd-external"
|
|
||||||
ports:
|
|
||||||
- "10601:10601"
|
|
||||||
devices:
|
|
||||||
- /dev/snd:/dev/snd
|
|
||||||
group_add:
|
|
||||||
- audio
|
|
||||||
command:
|
|
||||||
- "--device"
|
|
||||||
- "sysdefault"
|
|
||||||
- "--debug"
|
|
||||||
satellite:
|
|
||||||
image: "rhasspy/wyoming-satellite"
|
|
||||||
ports:
|
|
||||||
- "10700:10700"
|
|
||||||
command:
|
|
||||||
- "--name"
|
|
||||||
- "my satellite"
|
|
||||||
- "--mic-uri"
|
|
||||||
- "tcp://microphone:10600"
|
|
||||||
- "--snd-uri"
|
|
||||||
- "tcp://playback:10601"
|
|
||||||
- "--debug"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
docker build . \
|
|
||||||
-t 'rhasspy/wyoming-satellite' "$@"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
docker run \
|
|
||||||
-it \
|
|
||||||
-p 10700:10700 \
|
|
||||||
--device /dev/snd \
|
|
||||||
'rhasspy/wyoming-satellite' "$@"
|
|
||||||
Reference in New Issue
Block a user