Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 542 Bytes

Readme.md

File metadata and controls

20 lines (15 loc) · 542 Bytes

Docker For Deploy Go Web Service With LoadBalancing

Hot To Use

  • Run make up to start haproxy with three webserver
  • Run make down to stop haproxy and webserver

WebServer-Dockerfile

  • Build webserver with nginx and binary'server file.
  • Use supvisor to start nginx and server, restart crashed service

HAProxy-Dockerfile

Setup haproxy server

Comming soon

Support crontab for some jobs

References