diff --git a/scripts/connect b/scripts/connect index 335eb2f..157ae31 100755 --- a/scripts/connect +++ b/scripts/connect @@ -17,15 +17,12 @@ function print_info() { declare -A servers servers["yact"]="ssh root@172.50.10.83" -servers["tw1"]="ssh root@tw1.xxoommd.asia" -servers["tw2"]="ssh root@tw2.xxoommd.asia" -servers["tw3"]="ssh root@tw3.xxoommd.asia" -servers["hk1"]="ssh root@hk1.xxoommd.asia" -servers["hk2"]="ssh root@hk2.xxoommd.asia" -servers["us1"]="ssh root@us1.xxoommd.asia" -servers["us2"]="ssh root@us2.xxoommd.asia" +servers["tw"]="ssh root@tw.xmdgg.xyz" +servers["hk"]="ssh root@hk.xmdgg.xyz" +servers["us"]="ssh root@us.xmdgg.xyz" servers["ya"]="ssh -p 7189 gaohengyi@jumpserver.yacloud.net" servers["u1"]="ssh root@u1" +servers["dev"]="ssh root@125.64.33.85" function help() { echo diff --git a/x/README.md b/x/README.md index 546db5f..798df00 100644 --- a/x/README.md +++ b/x/README.md @@ -1,12 +1,12 @@ -# Verion 0.2 +# Verion 0.3 ## QUICK START -1. Set variable: `DEPLOY_DOMAIN` and `TAG` +1. Set variable: `DOMAIN` and `TAG` ```shell -export DEPLOY_DOMAIN=xxx.xxx -export TAG=v0.2 +export DOMAIN=xxx.xxx +export TAG=v0.3 ``` 2. Start diff --git a/x/quick_client.sh b/x/quick_client.sh index fe5c039..fd0db43 100644 --- a/x/quick_client.sh +++ b/x/quick_client.sh @@ -15,9 +15,9 @@ function loginfo() { echo -e "[INFO] $1" } -if [[ -z $DEPLOY_DOMAIN ]]; then +if [[ -z $DOMAIN ]]; then echo - logerr "env:DEPLOY_DOMAIN is not set" + logerr "env:DOMAIN is not set" echo exit 1 fi @@ -81,7 +81,7 @@ NAIVE_CONFIG="./naive-config.json" function gen_hysteria_config() { cat >$HYSTERIA_CONFIG <${NAIVE_CONFIG} <${CADDY_CONFIG_FILE} <