Skip to content

Nyralei/xray-reality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xray-reality

Installation Guide with Docker

  1. install docker
curl -fsSL https://get.docker.com | sh
  1. clone this project
git clone https://github.com/Nyralei/xray-reality && cd xray-reality
  1. build docker image
docker compose build
  1. create .env file with the following content:
XRAY_PUBLIC_KEY=<generate with xray x25519>
XRAY_PRIVATE_KEY=<generate with xray x25519>
XRAY_UUID=<generate with xray uuid>
XRAY_SHORT_ID=<generate with openssl rand -hex 8>
XRAY_PORT=8000
XRAY_NAME=<whatever>
XRAY_EMAIL=<whatever you input here>
XRAY_SNI=<check with RealiTLScanner>
XRAY_PATH=%2F
  1. run
 docker compose up -d
  1. get connection config :

get url

docker exec -it xray-reality-xray-reality-1 cat /root/test.url

view qrcode

docker exec -it xray-reality-xray-reality-1 sh -c 'qrencode -s 120 -t ANSIUTF8 $(cat /root/test.url)'

About

xray-reality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published