new
continuous-integration/drone/push Build was killed Details

This commit is contained in:
quackerd 2021-04-22 05:18:57 -04:00
parent 62b21ef72c
commit 47a8366c94
2 changed files with 5 additions and 5 deletions

View File

@ -37,16 +37,16 @@ fi
echo ""
echo "===== Fetching Configuration ===="
decrypt $URL $key
decrypt $URL $KEY
URL=$crypt_ret
echo "Fetching from $URL..."
hash_sha256 $FQDN $key
hash_sha256 $FQDN $KEY
URL=$URL/$crypt_ret
wget $URL -O /opt/$FQDN
echo "Decrypting..."
decrypt $(cat /opt/$FQDN) $key
decrypt $(cat /opt/$FQDN) $KEY
echo $crypt_ret > /opt/config.json
echo ""

View File

@ -16,8 +16,8 @@ for filename in confs/*; do
set -e
ssh -p 77 -o StrictHostKeychecking=no -i ansible/id_root root@$addr -t "docker run -d \
--restart unless-stopped \
-e KEY=$key \
-e FQDN=$addr \
-e KEY='$key' \
-e FQDN='$addr' \
-p 80:80 \
-p 443:443 \
-v d2ray_volume:/opt/config \