This video is about installing my AWS POLLY Node-Red code on Raspberry Pi 4 (and ultimately 5) with Node-Red running in a Docker Container using Antonio Fragola's DockerIOT Docker setup - which is a modern alternative to my "The Script" featured on my blog. The video is meant to accompany the blog entry at https://tech.scargill.net/amazon-polly-speech/ and should be viewed in conjunction with that blog entry. Note: clarification: Polly is simply a plugin to AWS - AWS is running as a command not a service - it gets called and after it completes it's job, it exits and does not leave anything in the background. The othe containers in Antonios repo (DockerIOT) sre system services and stay and run in the background. Antonio suggests factorizing that "/root/DockerIOT/nodered" which is used a couple of times in that flow, in a variable, let's say, "host_path_prefix", to clarify further that that should be added ONLY for commands running on the host (via the ssh exec node) that need the full path instead of just the internal subpaths "/data/..." which instead should be used for nodes accessing stuff INSIDE the container itself. Of course, BOTH point to the SAME data (thanks to the volume mounting the local folder to the container one) but should be managed differently: commands running externally via ssh and addressing HOST should use the full paths INCLUDING that "prefix" one, while commands addressing CONTAINER mounted paths and because of this with normal nodes, and not exec and ssh, won't need that prefix... (I know, did my head in as well). Enjoy and please subscribe to the tech blog and to my YouTube tech channel - https://www.youtube.com/playlist?list=PLsFJ0-Sa6uyG3SAqX44r1Lime7EE7irEX
This video is about installing my AWS POLLY Node-Red code on Raspberry Pi 4 (and ultimately 5) with Node-Red running in a Docker Container using Antonio Fragola's DockerIOT Docker setup - which is a modern alternative to my "The Script" featured on my blog. The video is meant to accompany the blog entry at https://tech.scargill.net/amazon-polly-speech/ and should be viewed in conjunction with that blog entry. Note: clarification: Polly is simply a plugin to AWS - AWS is running as a command not a service - it gets called and after it completes it's job, it exits and does not leave anything in the background. The othe containers in Antonios repo (DockerIOT) sre system services and stay and run in the background. Antonio suggests factorizing that "/root/DockerIOT/nodered" which is used a couple of times in that flow, in a variable, let's say, "host_path_prefix", to clarify further that that should be added ONLY for commands running on the host (via the ssh exec node) that need the full path instead of just the internal subpaths "/data/..." which instead should be used for nodes accessing stuff INSIDE the container itself. Of course, BOTH point to the SAME data (thanks to the volume mounting the local folder to the container one) but should be managed differently: commands running externally via ssh and addressing HOST should use the full paths INCLUDING that "prefix" one, while commands addressing CONTAINER mounted paths and because of this with normal nodes, and not exec and ssh, won't need that prefix... (I know, did my head in as well). Enjoy and please subscribe to the tech blog and to my YouTube tech channel - https://www.youtube.com/playlist?list=PLsFJ0-Sa6uyG3SAqX44r1Lime7EE7irEX