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容器重启就会初始化,怎么固化一些配置呢? #115

Open
hzdlive opened this issue Aug 16, 2024 · 2 comments
Open

docker容器重启就会初始化,怎么固化一些配置呢? #115

hzdlive opened this issue Aug 16, 2024 · 2 comments

Comments

@hzdlive
Copy link

hzdlive commented Aug 16, 2024

docker容器重启就会初始化,怎么固化一些配置呢?

@hzdlive
Copy link
Author

hzdlive commented Aug 16, 2024

比如我的Vps在香港,但gemini,anthropic等一些网站又限制地区,所以想添加一些路由规则,这个该怎么操作呢?

@fscarmen
Copy link
Owner

docker容器重启就会初始化,怎么固化一些配置呢?

容器重启的话,因为环境变量没有变,所以还是你初始部署时的参数,所以我也没有设计用 -v 来映射到宿主机的文件夹

比如我的Vps在香港,但gemini,anthropic等一些网站又限制地区,所以想添加一些路由规则,这个该怎么操作呢?

这个建议你本地使用更专业的客户端,像 clash , v2rayN 这样来分流,让服务端的节点保护不变。

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