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

为啥我新建的默认配置docker无法生效? #9

Open
geerda123 opened this issue Sep 11, 2022 · 4 comments
Open

为啥我新建的默认配置docker无法生效? #9

geerda123 opened this issue Sep 11, 2022 · 4 comments

Comments

@geerda123
Copy link

你好楼主,我现在用docker-compose.yml默认生成docker,发现无法启动docker容器总是重启,下面是配置,请问怎么处理,感谢!
图片
图片
Uploading 图片.png…

@geerda123
Copy link
Author

图片

@geerda123
Copy link
Author

图片
楼主,这种情况clash怎么设置,谢谢

@Colin-XKL
Copy link
Owner

Colin-XKL commented Sep 16, 2022

容器无法启动的话需要提供一下对应容器的日志才能进一步排查。如果要查看container_name 为 ttrss 的容器,可以使用sudo docker logs ttrss查看

@Colin-XKL
Copy link
Owner

楼主,这种情况clash怎么设置,谢谢

这里要单独在 clash 里设置上面指定的域名走制定的代理,修改 config.yaml 文件里最底下 default 那里,在 GEOIP CN 前面添加规则。

我看 dcard 这个站点的域名应该是 dcard.tw,那就这样写

  - DOMAIN,dcard.tw,global-random
  # default
  - GEOIP,CN,DIRECT
  - MATCH,global-random

这里 global-random 是预置的一个规则,使用全球的节点随机去访问。如果你想要手动添加一个 tw 的 ip 的代理节点的话,可以参考 clash 的相关文档在 proxy 字段自行添加

https://github.com/Dreamacro/clash/wiki/Configuration

注意config.yaml 文件编辑保存后,clash 实例需要删除重建,新的配置才能生效

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