8 lines
292 B
Bash
Executable File
8 lines
292 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd -- "$(dirname -- "$(readlink -f -- "$0")")"
|
|
# 保留启动时更新;pull 遇到冲突报错,不强制丢弃本地改动。
|
|
http_proxy= https_proxy= HTTP_PROXY= HTTPS_PROXY= git pull --ff-only
|
|
mkdir -p ../state/{home,tmp,logs}
|
|
docker compose up -d
|