hlswatch icon indicating copy to clipboard operation
hlswatch copied to clipboard

Non-Docker Version

Open aminhusni opened this issue 6 years ago • 4 comments

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

aminhusni avatar Feb 06 '19 05:02 aminhusni

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

faryon93 avatar Feb 09 '19 10:02 faryon93

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).

aminhusni avatar Feb 09 '19 18:02 aminhusni

Is there meanwhile a binary published? would be interested too.

rudolfp1979 avatar Mar 02 '22 11:03 rudolfp1979

I would be very interested in a binary

spjoes avatar May 28 '23 21:05 spjoes