Home  >  Q&A  >  body text

docker部署web服务,怎样做到不间断服务的更新?

用docker+jenkins+git+fabric做了一套自动化部署的小项目,公司中有web服务已经在docker中运行,怎样做到不间断服务更新项目代码?

阿神阿神2707 days ago836

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-22 08:57:42

    Hang an nginx as a proxy in front, and update the nginx configuration to a different port each time, then cut off all traffic and kill the old docker

    reply
    0
  • PHP中文网

    PHP中文网2017-04-22 08:57:42

    Hang another nginx in front to act as proxy

    reply
    0
  • Cancelreply