门户估价对话、会员与智能体账号,以及生产 Docker 部署一直停在工作区,远端主分支还没有这些改动。 Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
328 B
Bash
Executable File
16 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
created=0
|
|
if [[ ! -f .env ]]; then
|
|
./init-env.sh
|
|
created=1
|
|
fi
|
|
./render-nginx.sh
|
|
if [[ "$created" == 1 && "${1:-}" != "--yes" ]]; then
|
|
echo "请先核对 .env 里的域名。确认后执行 ./up.sh --yes"
|
|
exit 0
|
|
fi
|
|
docker compose --env-file .env up -d
|
|
docker compose ps
|