kamal README

The project's README from github.com/basecamp/kamal. As one markdown file: README.md.

Kamal: Deploy web apps anywhere

From bare metal to cloud VMs, deploy web apps anywhere with zero downtime. Kamal uses kamal-proxy to seamlessly switch requests between containers. Works seamlessly across multiple servers, using SSHKit to execute commands. Originally built for Rails apps, Kamal will work with any type of web app that can be containerized with Docker.

➡️ See kamal-deploy.org for documentation on installation, configuration, and commands.

Contributing to the documentation

Please help us improve Kamal's documentation on the basecamp/kamal-site repository.

License

Kamal is released under the MIT License.

kamal (basecamp/kamal)

Searching Database…

14.7K ·GitHub
这是什么?Kamal 是一个部署工具,可以把打包成 Docker 容器的网页应用部署到任何服务器上,从物理机到云虚拟机都行,并且做到零停机。
这是托管平台,还是需要我自己运行的东西?它是一个命令行工具,你在自己的电脑上运行它;它通过 SSH 连接到你的服务器,并使用 SSHKit 在那里编排 Docker 容器,本身并不提供任何托管服务。
我到底该怎么用它部署应用?README 没有直接列出命令,而是指向专门的文档网站,那里有安装、配置和部署命令的说明。
我需要 Docker 和服务器的 SSH 访问权限吗?需要。你的应用要用 Docker 打包成容器,Kamal 通过 SSH 借助 SSHKit 在你的服务器上执行命令,部署过程中 kamal-proxy 负责在容器之间转发流量。
它只能用于 Rails 应用吗?不是。它最初是为 Rails 开发的,但也适用于任何能用 Docker 容器化的网页应用。
它可以免费使用吗?可以。Kamal 是开源软件,采用 MIT 许可证发布。
什么是 kamal-proxy?它是 Kamal 的配套代理,在部署过程中把传入的请求在旧容器和新容器之间切换,这就是它实现零停机的方式。
我可以同时部署到多台服务器吗?可以。Kamal 设计上就支持多台服务器无缝协作,并通过 SSHKit 在每台服务器上执行命令。
Creator
basecamp
Size
3.2 MB
Stars
14.7K
Age
3y
Commits · 90 Days