wahyd4 / aria2-ariang-x-docker-compose

Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
1.78k stars 282 forks source link

Only expose port of AriaNg #63

Closed Remielyzs closed 5 years ago

Remielyzs commented 5 years ago

你好,看了下docker-compose文件,但是发现aria2的部分还是暴露了三个端口出来,请问这个部分有没有办法只暴露ariang的连接端口,把6800和8080都只在容器之间呢。因为之前试验的好像是airang与aira互联的部分,是基于当前网络的情况而不是airang容器的网络情况(比如ng和aria在同一台机器上,内网访问时直接可以填内网的地址,但是外网访问时填内网地址就连不上)

wahyd4 commented 5 years ago

In short, it's not possible.

Because the AriaNg it's a pure frontend application and only has JavaScript which means all the requests sending from browser not backend. So the Aria ports must be exposed but you can set token to gain more security. On 17 Apr 2019, 12:28 AM +1000, misakalee notifications@github.com, wrote:

你好,看了下docker-compose文件,但是发现aria2的部分还是暴露了三个端口出来,请问这个部分有没有办法只暴露ariang的连接端口,把6800和8080都只在容器之间呢。因为之前试验的好像是airang与aira互联的部分,是基于当前网络的情况而不是airang容器的网络情况(比如ng和aria在同一台机器上,内网访问时直接可以填内网的地址,但是外网访问时填内网地址就连不上) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.