A Xray backend framework that can easily support many panels.
一个基于Xray的后端框架,支持V2ay,Trojan,Shadowsocks协议,极易扩展,支持多面板对接
bash <(curl -Ls https://raw.githubusercontent.com/Miku-Miku-Miku-Miku/XrayR-script/master/install.sh)
docker pull mikumiku1/xrayr:latest && docker run --restart=always --name xrayr -d -v ${PATH_TO_CONFIG}/config.yml:/etc/XrayR/config.yml --network=host mikumiku1/xrayr:latest
- 安装docker-compose:
curl -fsSL https://get.docker.com | bash -s docker
curl -L "https://github.com/docker/compose/releases/download/1.26.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
git clone https://github.com/Miku-Miku-Miku-Miku/XrayR-script
cd XrayR-script
- 编辑config。 配置文件基本格式如下,Nodes下可以同时添加多个面板,多个节点配置信息,只需添加相同格式的Nodes item即可。
- 启动docker:
docker-compose up -d
- 查看日志请使用:
docker-compose logs
在docker-compose.yml目录下执行:
docker-compose pull
docker-compose up -d