view service/playSound/serv.n3 @ 1718:82213d91471c

new cam component with http server
author drewp@bigasterisk.com
date Sun, 07 Aug 2022 04:43:47 -0700
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"
.