代码拉取完成,页面将自动刷新
通过post请求更新docker-compose
直接下载可执行文件
启动参数
Usage of ./compose_update_for_linux:
-file string
Path to the docker-compose.yaml file
-listen string
Port to listen on (default 5001)
-loglevel string
Log level (debug, info, warn, error, fatal, panic) (default "info")
-token string
Authentication token
# 示例:
./compose_update_for_linux -token 123456 -file /root/deploy.yaml
请求参数
curl -X POST 'http://127.0.0.1:5002/update-service' \
-H 'Authorization: Bearer 123456' \
-H 'Content-Type: application/json' \
-d '{
"image": "reg.abc.com:1880/front:17",
"service": "volunteer-h5-front"
}'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。