MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
171 stars 92 forks source link

unable to run 2 docker-qbittorrent at the same time #67

Open kixgzv opened 4 years ago

kixgzv commented 4 years ago

Hello, I am unable to run 2 docker-qbittorrent at the same time. In the end c1 and c2 are executed, but c2 is not accessible. the variable - WEBUI_PORT_ENV = 8090 is not imprinted in the qBittorrent.conf file of container C2 (WebUI\Port= stay at 8080).

Do you have an idea ?

docker-compose.yml version: "3.7" services: c1: image: markusmcnugen/qbittorrentvpn container_name: c1 privileged: true volumes:

docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b1ff77da215b markusmcnugen/qbittorrentvpn "/bin/bash /etc/open…" 40 minutes ago Up 18 minutes 0.0.0.0:8090->8080/tcp, 0.0.0.0:9009->8999/tcp, 0.0.0.0:9009->8999/udp c2 97f96abe0fa2 markusmcnugen/qbittorrentvpn "/bin/bash /etc/open…" About an hour ago Up About an hour 0.0.0.0:8080->8080/tcp, 0.0.0.0:8999->8999/tcp, 0.0.0.0:8999->8999/udp c1

ethanriverpage commented 3 years ago

In c2 you have ports set to 8090:8080 instead of 8090:8090.

Good luck!