mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 15:10:22 +00:00
websoft9
This commit is contained in:
parent
a7c657785f
commit
85dab10819
1 changed files with 1 additions and 7 deletions
|
@ -51,7 +51,7 @@ version="latest"
|
|||
channel="release"
|
||||
path="/data/websoft9/source"
|
||||
apps=""
|
||||
mirrors="https://docker.rainbond.cc,https://registry.inner.websoft9.cn"
|
||||
mirrors="https://dockerhub.websoft9.com"
|
||||
|
||||
# 获取参数值
|
||||
while [[ $# -gt 0 ]]; do
|
||||
|
@ -474,12 +474,6 @@ install_backends() {
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if jq -e '.["registry-mirrors"]' "$DOCKER_CONFIG_FILE" > /dev/null; then
|
||||
jq 'del(.["registry-mirrors"])' "$DOCKER_CONFIG_FILE" > "${DOCKER_CONFIG_FILE}.tmp" && sudo mv "${DOCKER_CONFIG_FILE}.tmp" "$DOCKER_CONFIG_FILE"
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart docker
|
||||
fi
|
||||
|
||||
if [ "$execute_mode" = "install" ]; then
|
||||
sudo docker exec -i websoft9-apphub apphub setconfig --section domain --key wildcard_domain --value ""
|
||||
if [ -n "$apps" ]; then
|
||||
|
|
Loading…
Reference in a new issue