view service/playSound/serv.n3 @ 1469:94f14a0823c6

try using tcp to talk to host pulse Ignore-this: 330703f97be6f3e3490d0d1fb1c8f90f darcs-hash:40ee150e0987ebfb6c2d09fe6358e28b6273a04c
author drewp <drewp@bigasterisk.com>
date Sat, 21 Dec 2019 16:01:25 -0800
parents 667794accec2
children b27a4652cd84
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=/home/drewp/.config/pulse/cookie,target=/home/pulseuser/.config/pulse/cookie"
      );
      :localRunCmdline (
#      "./run.sh"
#      "strace" "-ftts" "999"
      "python3" "playSound.py" "-v"
);
      :dockerFile "Dockerfile"
.