docker-bg:使用 Docker 进行 BlueGreen 部署尝试

时间:2024-07-13 08:10:39
【文件属性】:

文件名称:docker-bg:使用 Docker 进行 BlueGreen 部署尝试

文件大小:4KB

文件格式:ZIP

更新时间:2024-07-13 08:10:39

Nginx

docker-bg 尝试使用 Docker 进行 Blue Green 部署。 关于 此 POC 由以下工具提供支持: 图:用于管理分布式容器中的应用程序的工具。 见: : Nginx:一个 HTTP 和反向代理服务器。 见: : Consul:一种用于发现和配置基础设施中服务的工具。 见: : Consul-template:一个守护进程,用于在您的文件系统上填充来自 Consul 的值。 参见: : Registrator:一种自动将 Docker 容器注册/注销到 Consul 的工具。 请参阅: : 如何 先决条件 确保已安装 Docker。 安装图: $ sudo pip install -U fig 更新fig.yml文件并将ROUTABLE_IP替换为可路由的 IP 地址(使用您的主界面 IP 地址)。 构建 2 个站点映像:


【文件预览】:
docker-bg-master
----load-balancer()
--------Dockerfile(572B)
--------nginx.conf(429B)
--------nginx.service(131B)
--------consul-template.service(159B)
----README.md(2KB)
----siteB()
--------Dockerfile(60B)
--------www()
----siteA()
--------Dockerfile(61B)
--------www()
----fig.yml(466B)

网友评论