{"id":526104,"date":"2021-08-17T10:52:00","date_gmt":"2021-08-17T02:52:00","guid":{"rendered":"http:\/\/4563.org\/?p=526104"},"modified":"2021-08-17T10:52:00","modified_gmt":"2021-08-17T02:52:00","slug":"%e6%90%ac%e8%bf%90%ef%bc%8c%e9%9d%92%e9%be%99%e9%9d%a2%e6%9d%bf2-8ninja%e4%bb%8e%e9%9b%b6%e5%ae%89%e8%a3%85%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=526104","title":{"rendered":"\u642c\u8fd0\uff0c\u9752\u9f99\u9762\u677f2.8+Ninja\u4ece\u96f6\u5b89\u88c5\u6559\u7a0b"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>By\u5c0f\u9177<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u642c\u8fd0\uff0c\u9752\u9f99\u9762\u677f2.8+Ninja\u4ece\u96f6\u5b89\u88c5\u6559\u7a0b<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 By\u5c0f\u9177 \u4e8e 2021-8-17 10:40 \u7f16\u8f91 <\/p>\n<p> \u539f\u5730\u5740 https:\/\/thin-hill-428.notion.site\/2-8-Ninja-7e693618f706453ab01d869fbd2adb69<\/p>\n<p>  \u9752\u9f99\u9762\u677f2.8+Ninja\u4ece\u96f6\u5b89\u88c5\u6559\u7a0b<br \/>  Ninja\u4ecb\u7ecd<br \/>  Ninja\u662f@MoonBegonia\u5927\u4f6c\u5f00\u53d1\u7684\u4e00\u4e2a\u5f00\u6e90\u5b89\u5168\u7684\u9752\u9f99\u9762\u677f\u626b\u7801\u5de5\u5177\u3002<br \/>  JDC\u88ab\u66dd\u51fa\u5b89\u5168\u6f0f\u6d1e\uff0c\u5efa\u8bae\u5c3d\u5feb\u66f4\u6362Ninja\u4f7f\u7528\uff01<br \/>  \u7a0b\u5e8f\u6d4b\u8bd5http:\/\/1.15.69.19:5701\/#\/<br \/>  TG\u4ea4\u6d41\u7fa4https:\/\/t.me\/jdscrip<\/p>\n<p>  \u6ce8\u610f<br \/>  \u65b0\u624b\u5efa\u8bae\u4fdd\u5b58\u597dck\uff0c\u91cd\u7f6e\u7cfb\u7edf\u4ece0\u5b89\u88c5\u3002\u6559\u7a0b\u4ece0\u5f00\u59cb\u3002<br \/>  \u6559\u7a0b\u5de5\u5177\u4ecd\u7136\u662ffinalshell\u3002<br \/>  \u7b2c\u96f6\u6b65 \u5b89\u88c5docker\uff0cdocker-compose\u3002\uff08\u5df2\u6709\u9762\u677f\u7684\u8df3\u8fc7\u8fd9\u6b65\uff09<br \/>  #\u5b89\u88c5docker<br \/>  sudo yum check-update<br \/>  curl -sSL https:\/\/get.daocloud.io\/docker | sh<br \/>  sudo systemctl start docker<br \/>  sudo systemctl status docker<br \/>  sudo systemctl enable docker<\/p>\n<p>  \u7b2c\u4e00\u6b65 \u5220\u9664\u5bb9\u5668\uff08\u5220\u9664\u5bb9\u5668\u5bf9\u5df2\u6709\u7684\u9762\u677f\u4e0d\u4f1a\u6709\u4efb\u4f55\u6539\u53d8\uff0c\u653e\u5fc3\u641e\uff09<br \/>   docker stop $(docker ps -a -q) \/\/stop\u505c\u6b62\u6240\u6709\u5bb9\u5668 <br \/>   docker rm $(docker ps -a -q) \/\/&nbsp; &nbsp;remove\u5220\u9664\u6240\u6709\u5bb9\u5668<\/p>\n<p>  \u7b2c\u4e8c\u6b65<br \/>  \u5b89\u88c5docker-compose<br \/>  sudo curl -L &quot;https:\/\/github.com\/docker\/compose\/releases\/download\/1.24.1\/docker-compose-$(uname -s)-$(uname -m)&quot; -o \/usr\/local\/bin\/docker-compose<\/p>\n<p>  chmod +x \/usr\/local\/bin\/docker-compose<\/p>\n<p>  \u5728root\u6587\u4ef6\u5939\u4e0b\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\uff0c\u76ee\u5f55\u5185\u521b\u5efadocker-compose.yml<br \/>  \u5df2\u5b89\u88c5\u7684\u670b\u53cb\u8fdb\u5165QL\u6587\u4ef6\u5939\u5185\u521b\u5efadocker-compose.yml<br \/>  \u586b\u5165\u4ee5\u4e0b\u5185\u5bb9<br \/>  version: &quot;3&quot;<br \/>  services:<br \/>  qinglong:<br \/>  &nbsp; &nbsp; image: whyour\/qinglong:latest<br \/>  &nbsp; &nbsp; container_name: qinglong<br \/>  &nbsp; &nbsp; restart: unless-stopped<br \/>  &nbsp; &nbsp; tty: true<br \/>  &nbsp; &nbsp; ports:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; 5700:5700<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; 5701:5701<br \/>  &nbsp; &nbsp; environment:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; ENABLE_HANGUP=true<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; ENABLE_WEB_PANEL=true<br \/>  &nbsp; &nbsp; volumes:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/config:\/ql\/config<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/log:\/ql\/log<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/db:\/ql\/db<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/repo:\/ql\/repo<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/raw:\/ql\/raw<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/scripts:\/ql\/scripts<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/jbot:\/ql\/jbot<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; .\/ninja:\/ql\/ninja<br \/>  &nbsp; &nbsp; labels:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; com.centurylinklabs.watchtower.enable=false<\/p>\n<p>  \u4fdd\u5b58\u9000\u51fa\u3002<br \/>  \u547d\u4ee4\u884c\u91cccd\u8fdbdocker-compose.yml\u6240\u5728\u7684\u6587\u4ef6\u5939\uff0c\u6267\u884c\u547d\u4ee4<br \/>  docker-compose up -d<\/p>\n<p>  \u7136\u540e\u767b\u5f55ip:5700<br \/>  \u8fdb\u5165\u5bb9\u5668 <br \/>  ## ql\u4e3a\u5bb9\u5668\u540d \u672c\u6587\u673a\u5668\u5bb9\u5668\u540d\u4e3aqinglong<br \/>  docker exec -it qinglong bash<\/p>\n<p>  \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4<br \/>  git clone https:\/\/ghproxy.com\/https:\/\/github.com\/shufflewzc\/ninja.git \/ql\/ninja<br \/>  cd \/ql\/ninja\/backend<br \/>  pnpm install<br \/>  pm2 start<\/p>\n<p>  \u7b2c\u4e09\u6b65<br \/>  \u6253\u5f00\u9752\u9f99configs\u6587\u4ef6\u5939\u7684extra.sh\u6587\u4ef6<br \/>  \u5c06\u4ee5\u4e0b\u5185\u5bb9\u7c98\u8d34\u8fdb\u53bb\u3002<br \/>  cd \/ql\/ninja\/backend<br \/>  pm2 start<\/p>\n<p>  \u6ce8\u610f\u4e8b\u9879<br \/>  \u91cd\u542f\u540e\u52a1\u5fc5\u6267\u884c\u4e00\u6b21 ql extra \u4fdd\u8bc1 Ninja \u914d\u7f6e\u6210\u529f\u3002<br \/>  \u66f4\u65b0 Ninja \u53ea\u9700\u8981\u5728\u5bb9\u5668\u4e2d ninja\/backend \u76ee\u5f55\u6267\u884c git pull \u7136\u540e pm2 start<br \/>  Qinglong \u9700\u8981\u5728\u767b\u5f55\u72b6\u6001\uff08auth.json \u4e2d\u6709 token\uff09  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>coa<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5acc\u6b7b\u7684\u4e0d\u591f\u5feb\uff1f\u4f5c\u8005\u90fd\u95f7\u58f0\u53d1\u8d22\uff0c\u4f60\u5012\u597d\uff0c\u76f4\u63a5\u53d1\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>By\u5c0f\u9177<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tcoa \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-8-17 10:37<br \/>  \u5acc\u6b7b\u7684\u4e0d\u591f\u5feb\uff1f\u4f5c\u8005\u90fd\u95f7\u58f0\u53d1\u8d22\uff0c\u4f60\u5012\u597d\uff0c\u76f4\u63a5\u53d1\u4e86<\/p>\n<p> \u52a0\u4e0a\u5143\u8001\u6743\u9650\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>16qf<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5acc\u6b7b\u7684\u4e0d\u591f\u5feb\uff1f\u4eca\u5929\u7b7e\u5230\u9886\u8c46\u5168\u519b\u8986\u6ca1\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u96ea\u4e2b\u9b1f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u4e2a\u80fd\u62ff\u6765\u5e72\u5565\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>qxwo<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6674\u9686\u9762\u677f\u662f\u5565\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>By\u5c0f\u9177<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t16qf \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-8-17 10:45<br \/>  \u5acc\u6b7b\u7684\u4e0d\u591f\u5feb\uff1f\u4eca\u5929\u7b7e\u5230\u9886\u8c46\u5168\u519b\u8986\u6ca1<\/p>\n<p> \u5e94\u8be5\u662f\u540c\u4e00\u4e2aip\u6302\u592a\u591a\u53f7\u4e86\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>By\u5c0f\u9177 \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u642c\u8fd0\uff0c\u9752&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/526104"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=526104"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/526104\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=526104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=526104"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=526104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}