remove network mode, add additional ports option

This commit is contained in:
Qballjos 2021-02-25 18:39:29 +01:00
parent 59c630e1fa
commit 21c23b1ecb
2 changed files with 7 additions and 4 deletions

View File

@ -27,7 +27,7 @@ services:
- ENABLE_PRIVOXY=${ENABLE_PRIVOXY} - ENABLE_PRIVOXY=${ENABLE_PRIVOXY}
- LAN_NETWORK=${LAN_NETWORK} - LAN_NETWORK=${LAN_NETWORK}
- NAME_SERVERS=${NAME_SERVERS} - NAME_SERVERS=${NAME_SERVERS}
- ADDITIONAL_PORTS=6789, 9117, 5076 - ADDITIONAL_PORTS=${ADDITIONAL_PORTS}
- DEBUG=${DEBUG} - DEBUG=${DEBUG}
- WEBUI_PORT=${QBITTORENTPORT} - WEBUI_PORT=${QBITTORENTPORT}
volumes: volumes:
@ -38,7 +38,6 @@ services:
nzbhydra2: nzbhydra2:
container_name: nzbhydra2 container_name: nzbhydra2
image: hotio/nzbhydra2 image: hotio/nzbhydra2
network_mode: "container:[qbittorrent]"
environment: environment:
- PUID=${PUID} - PUID=${PUID}
- PGID=${PGID} - PGID=${PGID}
@ -50,7 +49,6 @@ services:
jackett: jackett:
container_name: jackett container_name: jackett
image: hotio/jackett image: hotio/jackett
network_mode: "container:[qbittorrent]"
environment: environment:
- PUID=${PUID} - PUID=${PUID}
- PGID=${PGID} - PGID=${PGID}
@ -63,7 +61,6 @@ services:
nzbget: nzbget:
container_name: nzbget container_name: nzbget
image: hotio/nzbget image: hotio/nzbget
network_mode: "container:[qbittorrent]"
environment: environment:
- PUID=${PUID} - PUID=${PUID}
- PGID=${PGID} - PGID=${PGID}

View File

@ -46,6 +46,12 @@
"label": "Jackett port", "label": "Jackett port",
"name": "JACKETTPORT" "name": "JACKETTPORT"
}, },
{
"default": "6789, 9117, 5076",
"label": "aditional ports",
"name": "ADDITIONAL_PORTS",
"description": "to pass through the vpn network"
},
{ {
"label": "Enable VPN", "label": "Enable VPN",
"name": "VPN_ENABLED", "name": "VPN_ENABLED",