Skip to content

0.0.1

Choose a tag to compare

@hsz1273327 hsz1273327 released this 26 Jul 11:28
· 15 commits to master since this release

portainer_deploy_tool

使用portainer部署更新服务的工具

使用

本工具提供pip安装pip install portainer_deploy_tool以及docker镜像hsz1273327/portainer_deploy_tool

docker镜像中已经申明了ENTRYPOINT [ "python","-m", "portainer_deploy_tool"]

支持3个子命令:

  • updateserviceinstack用于更新某个服务对应的镜像后根据指定的路径更新stack

  • updateservicebywebhooks用于在portainer上激活webhook后通过调用webhook更新服务

  • createorupdatestack用于根据目录下的指定后缀的文件来创建或者更新stack配置.

具体参数及含义可以用-h命令查看