Administrator
发布于 2024-08-30 / 26 阅读
0

docker搭建青龙面板

git地址:https://github.com/whyour/qinglong

构建镜像

docker pull whyour/qinglong:latest

启动容器

# curl -sSL get.docker.com | sh

docker run -dit \

# $PWD 创建本地目录

-v $PWD/ql/data:/ql/data \

# 冒号后面的 5700 为默认端口,如果设置了 QlPort, 需要跟 QlPort 保持一致

-p 5700:5700 \

# 部署路径非必须,比如 /test

-e QlBaseUrl="/" \

# 部署端口非必须,当使用 host 模式时,可以设置服务启动后的端口,默认 5700

-e QlPort="5700" \

--name qinglong \

--hostname qinglong \

--restart unless-stopped \

whyour/qinglong:latest

安全组放行

防火墙放行

浏览器访问

http://服务器ip:5700

通知设置

通知方式选择邮箱,输入邮箱名称、地址以及SMTP授权码,然后保存

账户设置

输入用户名密码后提交

完成安装后,用刚才设置的用户名密码登录

添加依赖

参考:https://help.yunjiutian.com/project-1/doc-75/

一键安装脚本

// 以下命令直接安装最新版青龙和一键配置

wget -q https://git.metauniverse-cn.com/https://raw.githubusercontent.com/yanyuwangluo/VIP/main/Scripts/sh/ql12.sh -O ql12.sh && bash ql12.sh

拉库

git地址:https://github.com/6dylan6/jdpro.git

ql repo https://js.jdpro.site/https://github.com/6dylan6/jdpro.git "jd_|jx_|jddj_" "backUp" "^jd[^_]|USER|JD|function|sendNotify|utils" "main"