-
Notifications
You must be signed in to change notification settings - Fork 77
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 compose up -d时出现问题 #30
Comments
网络问题。这个包莫名奇妙需要从 github 下载个东西才能运行。。 workaround: 如果你有代理的话可以试试修改 mu sharing_chatobt 的 Dockerfile,让出错这行命令使用代理:
(如果实在不行我之后 fork 改一下 chatterbot 的逻辑8) |
我代理挂全局也下不了 |
需要在容器内设定代理服务的地址哈(设置环境变量 HTTP(S)_PROXY)。docker 相当于是虚拟机嘛,环境被隔离了,所以不能自动用上咱们宿主机上的代理😭 |
|
不能直接发到人家的服务器上吧,协议不对了。需要用你本机上的代理服务转发。
|
|
嗯~对就是这种地址,但不是
|
|
我超好了,大佬nb |
|
? 麻烦给我看一下你的 docker-compose.yml 😂 |
|
This comment was marked as off-topic.
This comment was marked as off-topic.
|
我不理解😭 试试 adding
at the end of the Dockerfile (audioview 和 live2dview 的). reference: |
修改后删了之前的Image重新弄仍然这样。cmd没有弹出错误
|
我是傻逼,刚刚查了一下谁在用80,然后发现steamcommunity302在占用,关掉之后就好了 |
但是不应该呀,每个容器的 0.0.0.0:80 应该都是互相隔离的,也与宿主机网络隔离 |
Lines 3 to 7 in 8402761
但是 live2dview 不应该拒绝服务。
|
2.所以应该写为127.0.0.1:51060? chatgpt似乎一直出现网络问题,但是我的proxy配置没有问题啊
|
我查看了一下官方文档,可能 Docker 在 Windows 下的一些行为不太一样,导致了你的各种问题(我觉得你的有点像在用 host 模式的网络)。 可以尝试修改一些可疑的 docker-compose.yml 配置(这些都是我按照 Linux 的习惯写的,并且在 macOS 下可以正常工作,Windows 也许不兼容😂):
ports:
- "127.0.0.1:51052:50052" 改为: ports:
- 51052:50052
Lines 11 to 12 in 8402761
Lines 31 to 32 in 8402761
Lines 103 to 105 in 8402761
(也许不能在 windows 用 bridge?) 我不保证有用😭 |
blivechat和live2dview页面成功打开了,但是chatgpt仍然报错(宿主机访问chatgpt网站无问题)
|
问一下如何解决的😂我之后好做相应的修改🙏
注意到日志有提及 docker compose exec chatgpt_chatbot sh
apt-get update
apt-get install inetutils-ping
# 下面就是各种尝试 ping 了😭
ping host.docker.internal
ping ... 具体寻找 host ip 的方法可以参考:
|
按照这个修改就能使用blivechat和live2dview了
chatgpt的话我通过docker desktop的settings-resources-proxies写了宿主机的ip(我写的就是宿主机以太网下的本地ipv4地址)能正常使用了
我的externalsayer的config
|
那这个应该是 externalsayer (文本 -> 音频)的问题,而非 audioview (音频 -> 播放),这是两个独立的模块。
curl https://eastus.tts.speech.microsoft.com/cognitiveservices/voices/list --header 'Ocp-Apim-Subscription-Key: xxx' 我把请求的结果格式化放到了这个文件里,方便查找: 可以在网页上的「Speech Studio」里试听、选择声音。然后在文件里找到对应 voice 的 其实更推荐的一种方式是,在「Speech Studio」中随便写点内容,选择声音让它说,并微调各种参数,满意之后,把 SSML 导出出来,把内容替换为 |
|
👌🏻 |
And thanks for all your debugging and discussing contributions. I believe I have merged most code/docs changes into the v0.3.2 (this version is named NightyRain as a mark of appreciation). However I am concerned that this threading is off-topic now and could make troubles for tracking and for people seeking help. I am closing it. Feel free to open new issues or reopen this one for further discussion. |
The text was updated successfully, but these errors were encountered: