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

因为想部署在爱快上所以能不能出一个只收甜糖和提现的镜像 #112

Open
lzqd opened this issue Feb 16, 2022 · 6 comments

Comments

@lzqd
Copy link

lzqd commented Feb 16, 2022

因为想部署在爱快上所以能不能出一个只收甜糖和提现的镜像

@ericwang2006
Copy link
Owner

docker run -itd
-v /your/cache/path:/mnts
-e DISABLE_TTNODE=1
-p 1043:1043
--name ttnode
--restart=always
ericwang2006/ttnode:alpine

这样就可以了,参考说明文档

@lzqd
Copy link
Author

lzqd commented Feb 16, 2022

docker run -itd -v /your/cache/path:/mnts -e DISABLE_TTNODE=1 -p 1043:1043 --name ttnode --restart=always ericwang2006/ttnode:alpine

就可以了,参考文档说明这样
爱快的docker不能用命令安装容器,
好吧,使用环境变量后确实可以只保留收添糖

@ericwang2006
Copy link
Owner

对,其实就是一个环境变量的问题
DISABLE_TTNODE=1

@Alonglang
Copy link

@ericwang2006 DISABLE_TTNODE=1,本容器作为辅助工具使用时,your/cache/path目录是要指向哪里?是.yfnode/cache吗?拉起容器后还需要做什么配置才能使自动收集功能生效?

@lzqd
Copy link
Author

lzqd commented Feb 28, 2022

@ericwang2006 DISABLE_TTNODE=1,本容器作为辅助工具使用时,你的/cache/path目录是要指向哪里?是.yfnode/cache吗?

可以不设置,运行后进甜糖控制面板登录就可以了

@lzqd
Copy link
Author

lzqd commented Feb 28, 2022

docker run -itd -v /your/cache/path:/mnts -e DISABLE_TTNODE=1 -p 1043:1043 --name ttnode --restart=always ericwang2006/ttnode:alpine
就可以了,参考文档说明这样
爱快的docker不能用命令安装容器,
好吧,使用环境变量后确实可以只保留收添糖

消息推送能不能添加点其他的免费工具Server酱收费了!

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

3 participants