Loading...
Loading...
Compare original and translation side by side
undefinedundefinedundefinedundefinedwebjobkamalwebjobkamalkamal initconfig/deploy.yml.kamal/secrets/upconfig.assume_ssl = trueconfig.force_ssl = trueproduction.rb/upconfig.host_authorization = { exclude: ->(request) { request.path == "/up" } }kamal setupkamal initconfig/deploy.yml.kamal/secrets/upproduction.rbconfig.assume_ssl = trueconfig.force_ssl = true/upconfig.host_authorization = { exclude: ->(request) { request.path == "/up" } }kamal setupkamal deploy # Full deploy (build + push + deploy)
kamal deploy --skip-push # Deploy existing image from registry
kamal deploy --version=VERSION # Deploy specific versionkamal deploy # 完整部署(构建 + 推送 + 部署)
kamal deploy --skip-push # 从镜像仓库部署现有镜像
kamal deploy --version=VERSION # 部署指定版本kamal accessory boot all # Boot all accessories
kamal accessory boot postgres # Boot specific accessory
kamal accessory reboot redis # Reboot an accessory
kamal accessory remove postgres # Remove an accessory
kamal accessory details postgres
kamal accessory logs postgreskamal accessory boot all # 启动所有附属服务
kamal accessory boot postgres # 启动指定附属服务postgres
kamal accessory reboot redis # 重启附属服务redis
kamal accessory remove postgres # 移除附属服务postgres
kamal accessory details postgres
kamal accessory logs postgresundefinedundefinedundefinedundefined| Flag | Description |
|---|---|
| Detailed logging |
| Minimal logging |
| Run against specific app version |
| Primary host only |
| Comma-separated hosts (supports wildcards) |
| Comma-separated roles (supports wildcards) |
| Deployment destination |
| Skip hook execution |
| 参数 | 描述 |
|---|---|
| 详细日志 |
| 极简日志 |
| 针对指定应用版本执行命令 |
| 仅针对主服务器 |
| 逗号分隔的主机列表(支持通配符) |
| 逗号分隔的角色列表(支持通配符) |
| 部署目标 |
| 跳过钩子脚本执行 |
undefinedundefinedundefinedundefined.kamal/hooks/docker-setuppre-connectpre-buildpre-deploypost-deploypre-app-bootpost-app-bootpre-proxy-rebootpost-proxy-reboot.kamal/hooks/docker-setuppre-connectpre-buildpre-deploypost-deploypre-app-bootpost-app-bootpre-proxy-rebootpost-proxy-rebootkamal upgrade # In-place upgrade from Kamal 1 to 2
kamal upgrade --rolling # Zero-downtime upgrade
kamal downgrade # Reverse if neededkamal upgrade # 原地从Kamal 1升级到2
kamal upgrade --rolling # 零停机升级
kamal downgrade # 如有需要可回滚kamalconfig.assume_ssl = trueproduction.rb/etc/resolv.confdeploy_timeoutasset_pathconfig/deploy.ymlconfig.reload_routes = falseforward_headers: truekamalconfig.assume_ssl = trueproduction.rb/etc/resolv.confdeploy_timeoutasset_pathconfig/deploy.ymlconfig.reload_routes = falseforward_headers: true