You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
683 B

# ===== 远程部署目标模板 =====
# 复制为 dev.conf / prod.conf 并填真实值。真实文件不要提交 git(含密钥)。
# deploy.sh 通过这些信息 SSH 到目标机,同步 compose+配置并执行 docker compose。
# ── 目标服务器 SSH ──
SSH_HOST=1.2.3.4 # 目标服务器 IP / 域名
SSH_PORT=22
SSH_USER=root
SSH_KEY=~/.ssh/id_rsa # SSH 私钥路径(访问密钥)
# ── 远程部署目录(compose / .env / console 配置同步到此)──
REMOTE_DIR=/opt/yunyan
# ── 私有镜像仓库(远程机 docker login 用)──
REGISTRY=docker-registry.ideapsound.com
REGISTRY_USER=admin
REGISTRY_PASS=change-me