Add bygsf212 deployment config
This commit is contained in:
21
deploy/docker/scripts/server.env.example
Normal file
21
deploy/docker/scripts/server.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# =============================================================
|
||||
# 部署目标服务器配置 — 复制为 server.env 并按实际填写
|
||||
# 不要提交到 git
|
||||
# =============================================================
|
||||
|
||||
# 远端服务器
|
||||
# 宝塔 Docker 管理面板: https://118.31.36.212:14874/docker/conmanger
|
||||
SERVER_HOST=118.31.36.212
|
||||
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@118.31.36.212)
|
||||
SSHPASS=
|
||||
|
||||
# 是否在 rsync 之后自动 build + up(yes / no)
|
||||
AUTO_UP=yes
|
||||
Reference in New Issue
Block a user