Mercurial > code > home > repos > homeauto
comparison service/announce/serv.n3 @ 670:f70514b127d2
service that calls for TTS audio then serves it to chromecasts and to playAudio services
Ignore-this: 4ede3d6eb6b35096f70fc35ffe5c7a07
author | drewp@bigasterisk.com |
---|---|
date | Sun, 22 Dec 2019 00:35:58 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
669:b27a4652cd84 | 670:f70514b127d2 |
---|---|
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:announce a :Service; | |
6 :path "/announce/"; | |
7 :openid auth:admin; | |
8 :serverHost "bang"; | |
9 :internalPort 9010; | |
10 :prodDockerFlags ( | |
11 "-p" "9010:9010" | |
12 "--net=host" | |
13 ); | |
14 :localDockerFlags ( | |
15 "--mount" "type=bind,source=/my/proj/homeauto/service/announce/announce.py,target=/opt/announce.py" | |
16 "--mount" "type=bind,source=/my/proj/homeauto/service/announce/index.html,target=/opt/index.html" | |
17 ); | |
18 :localRunCmdline ("python3" "announce.py" "-v"); | |
19 :dockerFile "Dockerfile" | |
20 . | |
21 | |
22 | |
23 serv:tts_server a :Service; | |
24 :openid auth:admin; | |
25 :serverHost "bang"; | |
26 :internalPort 59125; | |
27 :prodDockerFlags ("-p" "59125:59125"); | |
28 :dockerFile "Dockerfile.speechServer" | |
29 . | |
30 |