test for stack

This commit is contained in:
Qballjos 2021-02-25 17:30:47 +01:00
parent b3fd81d6c0
commit e93fb1d99b
2 changed files with 210 additions and 0 deletions

View file

@ -0,0 +1,78 @@
version: "3.7"
services:
qbittorrent:
container_name: qbittorrent
image: binhex/arch-qbittorrentvpn
ports:
- "6881:6881"
- "6881:6881/udp"
- "${QBITTORENTPORT}:8080"
- "${PRIVOXYPORT}:8118"
- "${NZBHYDRA2PORT}:5076"
- "${JACKETTPORT}:9117"
- "${NZBGETPORT}:6789"
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=6789, 9117, 5076
- DEBUG=${DEBUG}
- WEBUI_PORT=${port for webinterface}
volumes:
- ${appdata folder}/qbittorrent:/config
- ${download folder}:/data
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
nzbhydra2:
container_name: nzbhydra2
image: hotio/nzbhydra2
depends_on: qbittorrent
network_mode: "container:[qbittorrent]"
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes:
- ${appdata folder}/nzbhydra2:/config
restart: unless-stopped
jackett:
container_name: jackett
image: hotio/jackett
depends_on: qbittorrent
network_mode: "container:[qbittorrent]"
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes:
- ${appdata folder}/jackett:/config
- ${download folder}:/data
restart: unless-stopped
nzbget:
container_name: nzbget
image: hotio/nzbget
depends_on: qbittorrent
network_mode: "container:[qbittorrent]"
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes:
- ${appdata folder}/nzbget:/config
- ${download folder}:/data
restart: unless-stopped

132
Template/test.json Normal file
View file

@ -0,0 +1,132 @@
{
"version": "2",
"templates": [
{
"categories": [
"Download",
"VPN"
],
"description": "A stack of dockers (qBittorent, NZBget, Jackett, NZBhydra2) to use with VPN service to shield your privacy",
"env": [
{
"default": "1000",
"label": "PUID",
"name": "PUID"
},
{
"default": "100",
"label": "PGID",
"name": "PGID"
},
{
"label": "TZ",
"name": "TZ"
},
{
"default": "8080",
"label": "WEBUI_PORT",
"name": "WEBUI_PORT",
"description": "port for webui of qBittorent"
},
{
"default": "8080",
"label": "QBITTORENTPORT",
"name": "QBITTORENTPORT",
"description": "qBittorent webui port"
},
{
"default": "8118",
"label": "PRIVOXYPORT",
"name": "PRIVOXYPORT",
"description": "port for privoxy"
},
{
"default": "5076",
"label": "NZBHYDRA2PORT",
"name": "NZBHYDRA2PORT",
"description": "NZBhydra2 port"
},
{
"label": "VPN_ENABLED",
"name": "VPN_ENABLED",
"description": "VPN enabled yes/no"
},
{
"label": "VPN_USER",
"name": "VPN_USER",
"description": "VPN username"
},
{
"label": "VPN_PASS",
"name": "VPN_PASS",
"description": "VPN password"
},
{
"label": "VPN_PROV",
"name": "VPN_PROV",
"description": "pia, airvpn or custom"
},
{
"label": "VPN_CLIENT",
"name": "VPN_CLIENT",
"description": "openvpn or wireguard"
},
{
"label": "VPN_OPTIONS",
"name": "VPN_OPTIONS",
"description": "additional openvpn cli options"
},
{
"label": "STRICT_PORT_FORWARD",
"name": "STRICT_PORT_FORWARD",
"description": "yes or no"
},
{
"label": "ENABLE_PRIVOXY",
"name": "ENABLE_PRIVOXY",
"description": "yes or no"
},
{
"label": "LAN_NETWORK",
"name": "LAN_NETWORK",
"description": "lan ipv4 network>/<cidr notation"
},
{
"label": "NAME_SERVERS",
"name": "NAME_SERVERS",
"description": "name servers comma seperated"
},
{
"label": "DEBUG",
"name": "DEBUG",
"description": "true or false"
},
{
"label": "appdata folder",
"name": "appdata folder",
"description": "location of your appdata root"
},
{
"label": "download folder",
"name": "download folder",
"description": "location of your download folder"
},
{
"label": "DEBUG",
"name": "DEBUG",
"description": "true or false"
}
],
"logo": "https://raw.githubusercontent.com/Qballjos/portainer_templates/master/Images/openvpn-as-icon.png",
"name": "VPN Download",
"note": "A stack of dockers (qBittorent, NZBget, Jackett, NZBhydra2) to use with VPN service to shield your privacy.",
"platform": "linux",
"repository": {
"stackfile": "Template/Stack/vpn_download.yml",
"url": "https://github.com/Qballjos/portainer_templates"
},
"title": "VPN Download",
"type": 3
}
]
}