Mercurial > code > home > repos > homeauto
annotate service/playSound/serv.n3 @ 1754:92999dfbf321 default tip
add shelly support
author | drewp@bigasterisk.com |
---|---|
date | Tue, 04 Jun 2024 13:03:43 -0700 |
parents | b27a4652cd84 |
children |
rev | line source |
---|---|
664 | 1 @prefix : <http://bigasterisk.com/ns/serv#> . |
2 @prefix auth: <http://bigasterisk.com/ns/serv/auth#> . | |
3 @prefix serv: <http://bigasterisk.com/services/> . | |
4 | |
5 serv:speechmusic_dash a :Service; | |
6 :path "/speech_music/dash/"; | |
7 :openid auth:admin; | |
8 :serverHost "bang"; | |
9 :internalPort 9049; | |
10 :prodDockerFlags ( | |
666
91d17a68c21b
drop speech synth, try to get pulse client working
drewp@bigasterisk.com
parents:
664
diff
changeset
|
11 "-p" "9049:9049" "--privileged" |
664 | 12 "--net=host"); |
13 :localDockerFlags ( | |
14 "--cap-add" "SYS_PTRACE" | |
15 #"--mount type=bind,source=/etc/pulse,target=/etc/pulse" | |
16 "--mount" "type=tmpfs,destination=/tmp,tmpfs-size=52428800" | |
669
b27a4652cd84
playsound is working ok on dash right now
drewp@bigasterisk.com
parents:
668
diff
changeset
|
17 "--mount" "type=bind,source=/my/proj/homeauto/service/playSound,target=/opt" |
668 | 18 "--mount" "type=bind,source=/home/drewp/.config/pulse/cookie,target=/home/pulseuser/.config/pulse/cookie" |
664 | 19 ); |
20 :localRunCmdline ( | |
668 | 21 # "./run.sh" |
666
91d17a68c21b
drop speech synth, try to get pulse client working
drewp@bigasterisk.com
parents:
664
diff
changeset
|
22 # "strace" "-ftts" "999" |
668 | 23 "python3" "playSound.py" "-v" |
24 ); | |
664 | 25 :dockerFile "Dockerfile" |
26 . | |
27 |