unias / docklet

OS for Virtual Private Cloud
https://unias.github.io/docklet/
BSD 3-Clause "New" or "Revised" License
240 stars 46 forks source link

Network #223

Closed FirmlyReality closed 7 years ago

FirmlyReality commented 7 years ago
  1. Let user gateway setup on workers instead of master.
  2. Add the proxy to container on the worker on which the user gateway setup.
  3. Add nginx proxy to workspace.
  4. Add 3 items to docklet.conf. They are NGINX_PORT, DISTRIBUTED_GATEWAY, NGINX_CONF. You can read the descriptions on docklet.conf.template for more information.
  5. Add nginx_config.sh to tools/. Note: Must install nginx, you can run prepare.sh or 'apt-get install' to install nginx. After installing, please run nginx_config.sh by root to config nginx automatically. Before running nginx_config.sh, you must finish configuration of docklet, which means you must config docklet.conf first.