forked from rhasspy/wyoming-satellite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c49f5e9
commit 07bebb8
Showing
8 changed files
with
105 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* | ||
!requirements.txt | ||
!MANIFEST.in | ||
!setup.py | ||
!script/setup | ||
!script/run | ||
!wyoming_satellite/*.py | ||
!docker/run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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 script/setup ./script/ | ||
COPY setup.py requirements.txt MANIFEST.in ./ | ||
COPY wyoming_satellite/ ./wyoming_satellite/ | ||
|
||
RUN script/setup | ||
|
||
COPY script/run ./script/ | ||
COPY docker/run ./ | ||
|
||
EXPOSE 10700 | ||
|
||
ENTRYPOINT ["/app/run"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
/app/script/run \ | ||
--uri tcp://0.0.0.0:10700 "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
docker buildx build . \ | ||
-t 'rhasspy/wyoming-satellite' "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
docker run \ | ||
-it \ | ||
-p 10700:10700 \ | ||
--device /dev/snd \ | ||
'rhasspy/wyoming-satellite' "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
from setuptools import setup | ||
|
||
this_dir = Path(__file__).parent | ||
module_dir = this_dir / "wyoming_handle_external" | ||
|
||
requirements = [] | ||
requirements_path = this_dir / "requirements.txt" | ||
|
@@ -19,8 +18,8 @@ | |
setup( | ||
name="wyoming_handle_external", | ||
version="1.0.0", | ||
description="Wyoming server for external intent handling", | ||
url="http://github.com/rhasspy/wyoming-handle-external", | ||
description="Wyoming server for remote voice satellite", | ||
url="http://github.com/rhasspy/wyoming-satellite", | ||
author="Michael Hansen", | ||
author_email="[email protected]", | ||
packages=setuptools.find_packages(), | ||
|
@@ -35,5 +34,5 @@ | |
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
], | ||
keywords="rhasspy wyoming intent handle", | ||
keywords="rhasspy wyoming satellite", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters