Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 897 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 897 Bytes

viz setup

Here's how to run the docker image.

docker run  -p 1935:1935 -p 8080:8080 -p 16666:4443 -v /home/deploy/viz/fullchain.pem:/etc/letsencrypt/live/viz.streampusher.com/fullchain.pem -v /home/deploy/viz/privkey.pem:/etc/letsencrypt/live/viz.streampusher.com/privkey.pem datafruits/viz:latest

Fixing cert

When the cert expires unfortunately these steps need to happen.

$ cd /home/deploy/viz
$ sudo cp /etc/letsencrypt/live/datafruits.streampusher.com/privkey.pem .
$ sudo cp /etc/letsencrypt/live/datafruits.streampusher.com/fullchain.pem .

Then stop the container and start it again with the same command.

docker run  -p 1935:1935 -p 8080:8080 -p 16666:4443 -v /home/deploy/viz/fullchain.pem:/etc/letsencrypt/live/viz.streampusher.com/fullchain.pem -v /home/deploy/viz/privkey.pem:/etc/letsencrypt/live/viz.streampusher.com/privkey.pem datafruits/viz:latest