Sign inSign up

shidahuilang/rabbit

By shidahuilang

Updated over 4 years ago

Rabbit新登陆方式对接青龙

Image
0

568

shidahuilang/rabbit repository overview

配置:

1、新建一个项目

cd /root && mkdir -p  Rabbit && cd Rabbit

2、创建一个目录放配置

cd /root/Rabbit && mkdir -p  Config

3、下载config.json 配置文件 不要修改配置,先确保能访问gitee,能正常打开网页,否则会跑enen

cd /root/Rabbit/Config && wget -O Config.json  https://raw.githubusercontent.com/shidahuilang/QL-/main/Config.json

国内用

cd /root/Rabbit/Config && wget -O Config.json  https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/QL-/main/Config.json

4、配置完后

cd /root/Rabbit
  • 单独安装rabbit一键脚本
bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/shidahuilang/QL-/main/rabbit.sh)"

安装:(ARM架构的机器自己将latest改成arm)

方案一:自行构建镜像(由于有人魔改Rabbit,不再开源)

先下载源码,上传到此文件夹,再运行接下来的命令
docker build -t rabbit .
启动
cd /root/Rabbit && docker run --name rabbit -d  -v "$(pwd)"/Config:/usr/src/Project/Config -p 5701:1234 shidahuilang/rabbit:latest

方案二:使用我的镜像

docker pull shidahuilang/rabbit:latest
启动
cd /root/Rabbit && docker run --name rabbit -d  -v "$(pwd)"/Config:/usr/src/Project/Config -p 5701:1234 shidahuilang/rabbit:latest

启动完之后,检查能否正常访问,可以就可以配置配置文件了,然后重启容器

阿里和腾讯服务器可以忽略这一步:

使用稳定的http或socks代理,不能有账号密码

格式为:http://xxx.xxx.xxx.xxx:xxxx或socks://xxx.xxx.xxx.xxx:xxxx 设置配置文件中的proxy即可

强调一遍

配置文件修改后,重新启动容器

升级

docker pull shidahuilang/rabbit:latest && cd /root/Rabbit && docker run --name rabbit -d  -v "$(pwd)"/Config:/usr/src/Project/Config -p 5701:1234 shidahuilang/rabbit:latest

Tag summary

Content type

Image

Digest

Size

542.6 MB

Last updated

over 4 years ago

docker pull shidahuilang/rabbit