hlswatch
hlswatch copied to clipboard
Non-Docker Version
Just wondering if there is a non-docker version of deployment/installation instruction? Honestly, I am not familiar with Docker and not familiar with GO. Already have an existing Nginx-rtmp system which I don't need the Docker to have another one running.
Thanks. Regards, Amin
Hi Amin, current only the docker image is built automatically. I can publish the binaries on the release page if that helps? The operation itself should be relatively easy. I'll update the README page.
Kind regards, Maxi
That would be wonderful 👍 Docker is nice and all but it can be intimidating especially when things are already bundled together(Nginx + hlswatch preconfigured). Confusing becuase my original intention was to actually just to try and run the program on an existing server of mine that is already serving multiple streams via nginx-rtmp.
I just found out that you are using Alpine as the base image so from there I managed to execute a shell to change configs and codes that were in the container.
I ended up linking my host's /tmp/ folder with the container's /tmp/ btw. That way the HLS files are sitting in ram instead of the HDD and I let the currently natively running Nginx still process the transcoding.
Reference (for anyone in the future encountering this senario):
docker run --rm -t -i \
--name nginx-hls \
--network="host" \
-p 80:80 \
-v /tmp/hls:/tmp/hls \
-e HLS_INFLUX_ADDR=http://localhost:8086 \
-e HLS_INFLUX_DB=hlswatch \
-e HLS_INFLUX_USER=hlswatch \
-e HLS_INFLUX_PASSWORD=hlswatch \
faryon93/hlswatch
P/s: Probably need to mention about how InfluxDB is requred to be installed natively. When I did not have one, the container still asks for a connection regardless of my config (using http not influxdb).
Is there meanwhile a binary published? would be interested too.
I would be very interested in a binary