-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from slackr31337/client-class
Add a warning for docker image
- Loading branch information
Showing
4 changed files
with
35 additions
and
25 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
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,23 @@ | ||
|
||
Warning: Using a docker image is not recommended with a free picovoice account. | ||
|
||
|
||
To run in Docker: | ||
|
||
cd /usr/src | ||
git clone https://github.com/slackr31337/PorcupinePipeline.git | ||
|
||
cd PorcupinePipeline | ||
bash build.sh | ||
|
||
export ACCESS_KEY='my-picovoice-access-key' | ||
export TOKEN='my-home-assistant-token' | ||
|
||
docker run --rm \ | ||
--env SERVER=192.168.0.10 \ | ||
--env SERVER_PORT=8123 \ | ||
--env AUDIO_DEVICE=3 \ | ||
--env ACCESS_KEY=${ACCESS_KEY} \ | ||
--env TOKEN=${TOKEN} \ | ||
--device /dev/snd \ | ||
porcupine-pipeline |
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 @@ | ||
#!/bin/bash | ||
|
||
echo "Warning: Using picovoice in a docker container" | ||
echo " will result in consuming a user device" | ||
echo " for each container that is run. This" | ||
echo " will exhaust a free user's monthly limit" | ||
|
||
docker build -f Dockerfile -t porcupine-pipeline . |