view service/playSound/serv.n3 @ 1745:d90cb7c06f15

try to crash if mqtt doesn't connect
author drewp@bigasterisk.com
date Thu, 09 Nov 2023 17:21:59 -0800
parents b27a4652cd84
children
line wrap: on
line source

@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" "--privileged"
      "--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=/my/proj/homeauto/service/playSound,target=/opt"
      "--mount" "type=bind,source=/home/drewp/.config/pulse/cookie,target=/home/pulseuser/.config/pulse/cookie"
      );
      :localRunCmdline (
#      "./run.sh"
#      "strace" "-ftts" "999"
      "python3" "playSound.py" "-v"
);
      :dockerFile "Dockerfile"
.