是否可以为 Docker 安装更改 Gogs HTTP_PORT?

Is it possible to change the Gogs HTTP_PORT for the Docker Install?

我尝试更改 HTTP_PORT 服务器配置以在当前安装和全新安装上都使用端口 80,但 Gogs 仍在侦听端口 3000?

TIA, 奥莱

这是可能的,但由于 Gogs 以非 root 用户身份运行 (git),因此必须以某种方式允许该用户绑定到端口 80。更多详细信息请参见此处: https://github.com/gogits/gogs/issues/3196#issuecomment-226776430