This commit is contained in:
Darren 2023-10-09 10:49:18 +08:00 committed by GitHub
parent a08ab00ee0
commit 62eee2de82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -91,8 +91,8 @@ export systemd_path="/opt/websoft9/systemd"
export source_zip="websoft9-$version.zip"
export source_unzip="websoft9"
export source_github_pages="https://websoft9.github.io/websoft9"
export tools_yum="git curl wget yum-utils jq bc unzip"
export tools_apt="git curl wget jq bc unzip"
export tools_yum="git curl wget yum-utils jq bc unzip inotify-tools"
export tools_apt="git curl wget jq bc unzip inotify-tools"
export docker_network="websoft9"
export artifact_url="https://w9artifact.blob.core.windows.net/$channel/websoft9"
echo Install from url: $artifact_url

View file

@ -5,6 +5,8 @@ set -e
trap "sleep 1; continue" ERR
try_times=100
counter=1
portainer_username="admin"
credential_path="/var/websoft9/credential"
apphub_container_name="websoft9-apphub"
@ -12,7 +14,7 @@ apphub_container_name="websoft9-apphub"
copy_credential() {
# 设置参数的默认值
source_container="websoft9-git"
source_container=
source_path="/var/websoft9/credential"
destination_container="websoft9-apphub"
destination_path="/websoft9/credentials/credential_git"