image_deploy

command module
v0.0.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

image_deploy

docker image automatically deploy to machine

deployment.yaml

user:   # docker 仓库用户名
password: # docker 仓库token
type: PullAndDeploy # 三种部署方式pull;deploy;pullAndDeploy
ssh_config:
  - ip: 192.168.60.157
    port: 22
    user: wjq
    password: 123456
deploy:
  target_folder: /compose # 将同级目录下所有文件上传至此目录

1.将同级目录下所有文件按照相同目录级别上传到所需部署的机器中 2.解析同级目录下所有docker-compose文件 images 3.执行命令自动运行docker-compose

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
ssh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL