cleanup but working now

This commit is contained in:
Qballjos 2021-02-25 20:05:19 +01:00
parent 747897f084
commit abd0dd7435
2 changed files with 70 additions and 70 deletions

View File

@ -1,10 +1,71 @@
---
version: "3.7" version: "3.7"
services: services:
jackett:
container_name: jackett
depends_on:
- qbittorrent
environment:
- "PUID=${PUID}"
- "PGID=${PGID}"
- UMASK=002
- "TZ=${TZ}"
image: hotio/jackett
network_mode: "service:qbittorrent"
restart: unless-stopped
volumes:
- "${APPDATA}/jackett:/config"
- "${DOWNLOAD}:/data"
nzbget:
container_name: nzbget
depends_on:
- qbittorrent
environment:
- "PUID=${PUID}"
- "PGID=${PGID}"
- UMASK=002
- "TZ=${TZ}"
image: hotio/nzbget
network_mode: "service:qbittorrent"
restart: unless-stopped
volumes:
- "${APPDATA}/nzbget:/config"
- "${DOWNLOAD}:/data"
nzbhydra2:
container_name: nzbhydra2
depends_on:
- qbittorrent
environment:
- "PUID=${PUID}"
- "PGID=${PGID}"
- UMASK=002
- "TZ=${TZ}"
image: hotio/nzbhydra2
network_mode: "service:qbittorrent"
restart: unless-stopped
volumes:
- "${APPDATA}/nzbhydra2:/config"
qbittorrent: qbittorrent:
container_name: qbittorrent container_name: qbittorrent
environment:
- "PUID=${PUID}"
- PGID=1000
- "UMASK=${PGID}"
- "TZ=${TZ}"
- "VPN_ENABLED=${VPN_ENABLED}"
- "VPN_USER=${VPN_USER}"
- "VPN_PASS=${VPN_PASS}"
- "VPN_PROV=${VPN_PROV}"
- "VPN_CLIENT=${VPN_CLIENT}"
- "VPN_OPTIONS=${VPN_OPTIONS}"
- "STRICT_PORT_FORWARD=${STRICT_PORT_FORWARD}"
- "ENABLE_PRIVOXY=${ENABLE_PRIVOXY}"
- "LAN_NETWORK=${LAN_NETWORK}"
- "NAME_SERVERS=${NAME_SERVERS}"
- "ADDITIONAL_PORTS=${ADDITIONAL_PORTS}"
- "DEBUG=${DEBUG}"
- "WEBUI_PORT=${QBITTORENTPORT}"
image: binhex/arch-qbittorrentvpn image: binhex/arch-qbittorrentvpn
privileged: true
ports: ports:
- "6881:6881" - "6881:6881"
- "6881:6881/udp" - "6881:6881/udp"
@ -13,70 +74,9 @@ services:
- "${NZBHYDRA2PORT}:5076" - "${NZBHYDRA2PORT}:5076"
- "${JACKETTPORT}:9117" - "${JACKETTPORT}:9117"
- "${NZBGETPORT}:6789" - "${NZBGETPORT}:6789"
environment: privileged: true
- PUID=${PUID}
- PGID=1000
- UMASK=${PGID}
- TZ=${TZ}
- VPN_ENABLED=${VPN_ENABLED}
- VPN_USER=${VPN_USER}
- VPN_PASS=${VPN_PASS}
- VPN_PROV=${VPN_PROV}
- VPN_CLIENT=${VPN_CLIENT}
- VPN_OPTIONS=${VPN_OPTIONS}
- STRICT_PORT_FORWARD=${STRICT_PORT_FORWARD}
- ENABLE_PRIVOXY=${ENABLE_PRIVOXY}
- LAN_NETWORK=${LAN_NETWORK}
- NAME_SERVERS=${NAME_SERVERS}
- ADDITIONAL_PORTS=${ADDITIONAL_PORTS}
- DEBUG=${DEBUG}
- WEBUI_PORT=${QBITTORENTPORT}
volumes:
- ${APPDATA}/qbittorrent:/config
- ${DOWNLOAD}:/data
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped restart: unless-stopped
nzbhydra2:
container_name: nzbhydra2
image: hotio/nzbhydra2
network_mode: "service:qbittorrent"
depends_on:
- qbittorrent
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes: volumes:
- ${APPDATA}/nzbhydra2:/config - "${APPDATA}/qbittorrent:/config"
restart: unless-stopped - "${DOWNLOAD}:/data"
jackett: - "/etc/localtime:/etc/localtime:ro"
container_name: jackett
image: hotio/jackett
network_mode: "service:qbittorrent"
depends_on:
- qbittorrent
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes:
- ${APPDATA}/jackett:/config
- ${DOWNLOAD}:/data
restart: unless-stopped
nzbget:
container_name: nzbget
image: hotio/nzbget
network_mode: "service:qbittorrent"
depends_on:
- qbittorrent
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes:
- ${APPDATA}/nzbget:/config
- ${DOWNLOAD}:/data
restart: unless-stopped

View File

@ -25,7 +25,7 @@
"label": "qBittorrent port", "label": "qBittorrent port",
"name": "QBITTORENTPORT" "name": "QBITTORENTPORT"
}, },
{ {
"default": "6789", "default": "6789",
"label": "NZBget port", "label": "NZBget port",
"name": "NZBGETPORT" "name": "NZBGETPORT"
@ -46,11 +46,11 @@
"label": "Jackett port", "label": "Jackett port",
"name": "JACKETTPORT" "name": "JACKETTPORT"
}, },
{ {
"default": "6789, 9117, 5076", "default": "6789, 9117, 5076",
"label": "aditional ports", "label": "aditional ports",
"name": "ADDITIONAL_PORTS", "name": "ADDITIONAL_PORTS",
"description": "to pass through the vpn network" "description": "to pass through the vpn network"
}, },
{ {
"label": "Enable VPN", "label": "Enable VPN",