From 77365a3cefc4b3bf76d3f7ba85169fbb98f42232 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Sun, 9 Mar 2025 01:20:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0appflowy=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/appflowy.sh | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/resources/appflowy.sh b/resources/appflowy.sh index c25eaf6..85c21a0 100644 --- a/resources/appflowy.sh +++ b/resources/appflowy.sh @@ -9,7 +9,17 @@ else exit 1 fi -# http://192.168.3.3:8086 +images=( + "appflowyinc/appflowy_web:latest" + "appflowyinc/appflowy_worker:latest" + "appflowyinc/appflowy_ai:latest" + "appflowyinc/admin_frontend:latest" + "appflowyinc/appflowy_cloud:latest" + "appflowyinc/gotrue:latest" + "redis" # 等价于 redis:latest + "pgvector/pgvector:pg16" + "minio/minio:latest" +) CONTAINERS=( frpc @@ -33,6 +43,17 @@ for container in "${CONTAINERS[@]}"; do fi done +for image in "${images[@]}"; do + echo -e "\n\033[34m pulling image: ${image}\033[0m" + if docker pull "${image}"; then + echo -e "\033[32m pull successed: ${image}\033[0m" + else + echo -e "\033[31m pull failed: ${image}\033[0m" >&2 + fi +done + +echo -e "\n\033[36m all images pull finished \033[0m" + docker run --restart=always --network host -d --name frpc \ -e TZ="Asia/Shanghai" \ -v /mnt/user/appdata/frpc/frpc.toml:/etc/frp/frpc.toml \