This is a Bash script that installs Xray Beta and downloads the configuration for the repository created by Teegrce for Iran inside this repository with your own key and places it only with one command :) #
just need you to run this command
bash -c "$(curl -L https://raw.githubusercontent.com/sajjaddg/xray-reality/master/install.sh)"
and it will do the rest for you.
bash -c "$(curl -L https://raw.githubusercontent.com/sajjaddg/xray-reality/master/uninstall.sh)"
curl -fsSL https://get.docker.com | sh
git clone https://github.com/sajjaddg/xray-reality && cd xray-reality
docker build -t xrayreality .
docker run -d --name xrayreality -p443:443 xrayreality
get url
docker exec -it xrayreality cat /root/test.url
view qrcode
docker exec -it xrayreality sh -c 'qrencode -s 120 -t ANSIUTF8 $(cat /root/test.url)'
how to manage ?
status :
docker ps -a | grep xrayreality
stop :
docker stop xrayreality
start :
docker stop xrayreality
remove :
docker rm -f xrayreality
#
Note