bkestelman / graph-theory

Draw graphs n stuff
1 stars 0 forks source link

Find alternative to docker run --net=host #6

Closed bkestelman closed 5 years ago

bkestelman commented 5 years ago

More secure for container to run on isolated network instead of sharing host's. Consider creating separate containers for nginx and nodejs, and proxy_passing the websocket. Then, only open port for nginx.

bkestelman commented 5 years ago

Created a wrapper for docker run (see docker_run.sh) which takes ports as args at runtime.