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 \