fix: transfer CD bundle over ssh pipes instead of scp
sftp/scp bi chan tren duong bastion (Connection closed) trong khi exec channel chay tot. Day compose bang tar pipe, image stream thang vao docker load, bo file tarball trung gian.
This commit is contained in:
parent
74567eb1c4
commit
1cb1543260
2 changed files with 7 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# File compose DUY NHẤT trên prod: ~/danangble/docker-compose.yml
|
||||
# CD push-based: CI build image, nén, đẩy image + file này lên prod,
|
||||
# CD push-based: CI build image rồi đẩy image + file này lên prod qua SSH,
|
||||
# prod chỉ `docker load` rồi `up` — không build, không git pull.
|
||||
# Có service mới (vd: backend) thì thêm vào file này, không tạo file compose khác.
|
||||
name: danangble
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue