go-proxy-bingai icon indicating copy to clipboard operation
go-proxy-bingai copied to clipboard

解决vps + dokcer compose卡在加载

Open lancer-wang opened this issue 2 years ago • 7 comments

image 用docker compose 部署一直卡在类似界面 只需要在environment: 上面面加上一行 network_mode: bridge

注意对齐

lancer-wang avatar Jun 18 '23 06:06 lancer-wang

image

lancer-wang avatar Jun 18 '23 06:06 lancer-wang

应该不是这个原因,docker-compose默认的网络就是桥接~

jiashooter avatar Jun 20 '23 06:06 jiashooter

应该不是这个原因,docker-compose默认的网络就是桥接~

那可能是我这边的机器的问题,我不这样设置,是没有网络的

lancer-wang avatar Jun 21 '23 01:06 lancer-wang

用了楼主的办法,不灵。

phoniwell avatar Jun 21 '23 07:06 phoniwell

用了楼主的办法,不灵。

后来是怎么解决的,我也是本地docker 可以,vps 不行

hpeiyan avatar Jul 06 '23 06:07 hpeiyan

部署Nginx反代

On Thu, 6 Jul 2023 at 14:24, 大雁 @.***> wrote:

用了楼主的办法,不灵。

后来是怎么解决的,我也是本地docker 可以,vps 不行

— Reply to this email directly, view it on GitHub https://github.com/adams549659584/go-proxy-bingai/issues/249#issuecomment-1623062922, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACA3SZAXZ72UKNEV7NM3XP3XOZKYPANCNFSM6AAAAAAZKVUHPY . You are receiving this because you commented.Message ID: @.***>

jiashooter avatar Jul 06 '23 07:07 jiashooter

根本原因在于强制HTTPS要求,以及必须部署在真实网络接口,部署在虚拟tun接口无法连接。

使用Nginx反代就是为了实现HTTPS。我在家里主机与VPS均成功布置。

phoniwell avatar Jul 07 '23 00:07 phoniwell