anotation-frontend/docker-compose.yml
hailt 1cb1543260 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.
2026-11-02 11:32:20 +07:00

21 lines
665 B
YAML

# File compose DUY NHẤT trên prod: ~/danangble/docker-compose.yml
# 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
services:
fe:
image: danangble-fe:latest
container_name: danangble-fe
restart: unless-stopped
ports:
- "3000:80"
# --- Backend (mai mốt thêm, mẫu sẵn) ---
# be:
# image: danangble-be:latest
# container_name: danangble-be
# restart: unless-stopped
# ports:
# - "8000:8000"