Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SIPC committed Feb 12, 2024
1 parent d15f663 commit a16ac3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ EOL
fi

info "即将开始下载新版本 Docker 镜像"
docker pull sipcink/lyrify:latest
docker pull sipcink/lyrify:online

info "即将开始替换 Docker 容器"
docker stop lyrify > /dev/null 2>&1 && docker rm lyrify > /dev/null 2>&1
Expand All @@ -104,7 +104,7 @@ EOL
-e Gemini_API_KEY="$gemini_api_key" \
-e NIUTRANS_KEY="$niutrans_key" \
-e DEEPL_X_API_URL="$deepl_x_api_url" \
sipcink/lyrify:latest
sipcink/lyrify:online

if [ $? -ne "0" ]; then
abort "替换 Docker 容器失败"
Expand Down Expand Up @@ -146,7 +146,7 @@ EOL
-e Gemini_API_KEY="$gemini_api_key" \
-e NIUTRANS_KEY="$niutrans_key" \
-e DEEPL_X_API_URL="$deepl_x_api_url" \
sipcink/lyrify:latest
sipcink/lyrify:online

if [ $? -ne "0" ]; then
abort "启动 Docker 容器失败"
Expand Down

0 comments on commit a16ac3b

Please sign in to comment.