Mercurial > code > home > repos > homeauto
diff service/playSound/serv.n3 @ 1466:bf05f33c3b3a
start rewrite for playSound
Ignore-this: a4d4ccceea8ef0ba996ca2d81bf634c6
darcs-hash:76e853b388c95a2e4ba83637170effe872e997a8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 19 Dec 2019 16:45:40 -0800 |
parents | |
children | 91d17a68c21b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/playSound/serv.n3 Thu Dec 19 16:45:40 2019 -0800 @@ -0,0 +1,24 @@ +@prefix : <http://bigasterisk.com/ns/serv#> . +@prefix auth: <http://bigasterisk.com/ns/serv/auth#> . +@prefix serv: <http://bigasterisk.com/services/> . + +serv:speechmusic_dash a :Service; + :path "/speech_music/dash/"; + :openid auth:admin; + :serverHost "bang"; + :internalPort 9049; + :prodDockerFlags ( + "-p" "9049:9049" + "--net=host"); + :localDockerFlags ( + "--cap-add" "SYS_PTRACE" + #"--mount type=bind,source=/etc/pulse,target=/etc/pulse" + "--mount" "type=tmpfs,destination=/tmp,tmpfs-size=52428800" + "--mount" "type=bind,source=/tmp/pulseaudio,target=/tmp/pulseaudio" + ); + :localRunCmdline ( + "strace" "-ftts" "999" + "python3" "playSound.py" "-v"); + :dockerFile "Dockerfile" +. +