Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问在vps使用docker部署,利用反代域名,搭建命令是什么? #6

Open
GD2021 opened this issue Apr 16, 2024 · 7 comments

Comments

@GD2021
Copy link

GD2021 commented Apr 16, 2024

docker run -d
--name netdisc
--restart always
-p 8200:8200
-e TOKEN=机器人token
-e MODE=pan
-e PASS=panpan123
yohannfan/yohann-netdisc:latest

这样对吗?

@Yohann0617
Copy link
Owner

Yohann0617 commented Apr 16, 2024

  1. 端口我代码中写死的是8088,你要改的话需要修改为-p 8200:8088
  2. 缺少参数:-e CHANNEL=xxx
  3. 缺少参数:-e DOMAIN=https://hh.abc.com (不配置的话tg回复get无法获取完整url)

@GD2021
Copy link
Author

GD2021 commented Apr 16, 2024

明白,-e CHANNEL=xxx 但是我的机器人没有在频道内,这个怎么填写?

@Yohann0617
Copy link
Owner

明白,-e CHANNEL=xxx 但是我的机器人没有在频道内,这个怎么填写?

看文档 ,获取自己的chatid,然后-e CHANNEL=chatid

@GD2021
Copy link
Author

GD2021 commented Apr 16, 2024

收到

@GD2021
Copy link
Author

GD2021 commented Apr 16, 2024

image
image
测试反馈:

  1. 文件名会乱码(IDM下载)
    2.如果是浏览器直接下载的话识别不出文件类型(火狐、360)
    image
    3.速度很棒,国内可直连

@GD2021
Copy link
Author

GD2021 commented Apr 16, 2024

image
这机器人只能当个存放夹,没有任何功能吗?机器人里不显示链接

@Yohann0617
Copy link
Owner

image 这机器人只能当个存放夹,没有任何功能吗?机器人里不显示链接

回复文件get可以获取链接

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants