This commit is contained in:
Qballjos 2021-02-25 17:58:04 +01:00
parent 76a49dc410
commit aa6fe843fe
1 changed files with 78 additions and 47 deletions

View File

@ -22,38 +22,28 @@
}, },
{ {
"default": "8080", "default": "8080",
"label": "WEBUI_PORT", "label": "qBittorrent webui port",
"name": "WEBUI_PORT", "name": "QBITTORENTPORT"
"description": "port for webui of qBittorent"
},
{
"default": "8080",
"label": "QBITTORENTPORT",
"name": "QBITTORENTPORT",
"description": "qBittorent webui port"
}, },
{ {
"default": "8118", "default": "8118",
"label": "PRIVOXYPORT", "label": "Privoxy port",
"name": "PRIVOXYPORT", "name": "PRIVOXYPORT",
"description": "port for privoxy" "description": "for use with vpn proxy service"
}, },
{ {
"default": "5076", "default": "5076",
"label": "NZBHYDRA2PORT", "label": "NZBhydra2 port",
"name": "NZBHYDRA2PORT", "name": "NZBHYDRA2PORT"
"description": "NZBhydra2 port"
}, },
{ {
"default": "9117", "default": "9117",
"label": "JACKETTPORT", "label": "Jackett port",
"name": "JACKETTPORT", "name": "JACKETTPORT"
"description": "Jackett port"
}, },
{ {
"label": "VPN_ENABLED", "label": "Enable VPN",
"name": "Enable VPN", "name": "VPN_ENABLED",
"description": "VPN enabled yes/no",
"select": [{ "select": [{
"text": "Yes", "text": "Yes",
"value": "yes", "value": "yes",
@ -66,54 +56,100 @@
] ]
}, },
{ {
"label": "VPN_USER", "label": "VPN Username",
"name": "VPN_USER", "name": "VPN_USER"
"description": "VPN username"
}, },
{ {
"label": "VPN_PASS", "label": "VPN password",
"name": "VPN_PASS", "name": "VPN_PASS"
"description": "VPN password"
}, },
{ {
"label": "VPN_PROV", "label": "VPN provider",
"name": "VPN_PROV", "name": "VPN_PROV",
"description": "pia, airvpn or custom" "select": [{
"text": "PIA",
"value": "pia"
}, },
{ {
"label": "VPN_CLIENT", "text": "Airvpn",
"value": "airvpn"
},
{
"text": "Custom",
"value": "custom",
"default": true
}
]
},
{
"label": "VPN client",
"name": "VPN_CLIENT", "name": "VPN_CLIENT",
"description": "openvpn or wireguard" "select": [{
"text": "OpenVPN",
"value": "openvpn"
}, },
{ {
"label": "VPN_OPTIONS", "text": "Wireguard",
"name": "VPN_OPTIONS", "value": "wireguard",
"description": "additional openvpn cli options" "default": true
}
]
}, },
{ {
"label": "STRICT_PORT_FORWARD", "label": "Extra VPN options",
"name": "VPN_OPTIONS"
},
{
"label": "Strict port fowarding",
"name": "STRICT_PORT_FORWARD", "name": "STRICT_PORT_FORWARD",
"description": "yes or no" "select": [{
"text": "Yes",
"value": "yes"
}, },
{ {
"label": "ENABLE_PRIVOXY", "text": "No",
"value": "no",
"default": true
}
]
},
{
"label": "ENable Privoxy",
"name": "ENABLE_PRIVOXY", "name": "ENABLE_PRIVOXY",
"description": "yes or no" "select": [{
"text": "Yes",
"value": "yes"
}, },
{ {
"label": "LAN_NETWORK", "text": "No",
"value": "no",
"default": true
}
]
},
{
"label": "Local LAN network",
"name": "LAN_NETWORK", "name": "LAN_NETWORK",
"description": "lan ipv4 network>/<cidr notation" "description": "lan ipv4 network>/<cidr notation"
}, },
{ {
"label": "NAME_SERVERS", "label": "Name servers",
"name": "NAME_SERVERS", "name": "NAME_SERVERS",
"description": "name servers comma seperated" "description": "209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1"
}, },
{ {
"label": "DEBUG", "label": "Debug enabled",
"name": "DEBUG", "name": "DEBUG",
"description": "true or false" "select": [{
"text": "True",
"value": "true"
},
{
"text": "False",
"value": "false",
"default": true
}
]
}, },
{ {
"label": "appdata folder", "label": "appdata folder",
@ -124,11 +160,6 @@
"label": "download folder", "label": "download folder",
"name": "download folder", "name": "download folder",
"description": "location of your 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", "logo": "https://raw.githubusercontent.com/Qballjos/portainer_templates/master/Images/openvpn-as-icon.png",