Files
integral-shop/deploy/docker/scripts/server.env.example

22 lines
736 B
Plaintext
Raw Normal View History

# =============================================================
# 部署目标服务器配置 — 复制为 server.env 并按实际填写
# 不要提交到 git
# =============================================================
# 远端服务器
# 宝塔 Docker 管理面板: https://116.62.83.240:14874/docker/conmanger
SERVER_HOST=116.62.83.240
SERVER_USER=root
SERVER_PORT=22
# 部署到服务器的目标目录
REMOTE_DIR=/root/integral-shop
# 用密码登录时填写(需要 sshpass
# macOS: brew install hudochenkov/sshpass/sshpass
# Linux: apt-get install -y sshpass
# 留空则走 SSH key推荐先 ssh-copy-id root@116.62.83.240
SSHPASS=A@123456
# 是否在 rsync 之后自动 build + upyes / no
AUTO_UP=yes