Re:Be your own video hoster with Docker and Nginx
by dschiptsov on Saturday January 09, 2016 @08:17PM
(#10873676)
Why should one put anything under Docker for production?
[ Parent
| on HN ]
Re:Be your own video hoster with Docker and Nginx
by dschiptsov on Sunday January 10, 2016 @12:39AM
(#10874340)
Perhaps, chrooted environment is required for effeciently serving static files, I don't know.
And of all apps - nginx, which has been designed to be self-contained (process-isolation is good enough) and has almost zero external dependencies (openssl and pcre, which are parts of any modern OS). I could understand the idea to "containerize" that pile of Java crap with its 100500 maven dependencies just in order not to touch it again, but nginx...
BTW, does Docker's "port mapping", which is, of course, has zero overhead, is what one needs in front of nginx in production?
Re:Be your own video hoster with Docker and Nginx
by kevan on Sunday January 10, 2016 @02:15AM
(#10874545)
Nginx is only one piece of the puzzle for this app, check out the Dockerfile[1].
[1] https://github.com/datarhei/restreamer/blob/master/Dockerfil...