添加portainer,优化部署
This commit is contained in:
@@ -11,6 +11,7 @@ cd "$SCRIPT_DIR"
|
||||
|
||||
# 加载配置
|
||||
if [ -f .env ]; then
|
||||
sed -i 's/\r$//' .env
|
||||
set -a; source .env; set +a
|
||||
else
|
||||
echo "[ERROR] .env 文件不存在,请先运行 deploy.sh" >&2
|
||||
|
||||
Reference in New Issue
Block a user