new
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
62b21ef72c
commit
47a8366c94
|
@ -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 ""
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue