tweaked nginx and qbittorrent

This commit is contained in:
2024-07-21 23:48:24 -07:00
parent 97b0ab5afb
commit 495e89a3ac
12 changed files with 10850 additions and 20 deletions
+2
View File
@@ -22,6 +22,8 @@ process_help_comments() {
var_value="$HLPR_PROJECTPATH"
elif [[ "$line" =~ \#HELP:\ volpath ]]; then
var_value="$HLPR_PROJECTPATH/data"
elif [[ "$line" =~ \#HELP:\ configpath ]]; then
var_value="$HLPR_PROJECTPATH/config"
elif [[ "$line" =~ \#HELP:\ cookbooks ]]; then
var_value="$HLPR_COOKBOOKDIR"
elif [[ "$line" =~ \#HELP:\ gen32 ]]; then
+16
View File
@@ -0,0 +1,16 @@
OS: Alpine Linux v3.17
HandBrake 1.7.3 (2024030500)
Kernel: Linux 6.9.8-200.fc40.x86_64 (x86_64)
CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz x 8
Install Dir: /usr/bin
Config Dir: /config/ghb
_______________________________
[06:32:12] Compile-time hardening features are enabled
Cannot load libnvidia-encode.so.1
[06:32:12] hb_qsv_make_adapters_list: MFXVideoCORE_QueryPlatform failed impl=0 err=-16
[06:32:12] qsv: is available on this system
[06:32:12] hb_init: starting libhb thread
[06:32:12] hb_init: starting libhb thread
[06:32:12] hb_init: starting libhb thread
[06:32:12] gtkgui: Failed to read presets file, initializing new presets...
+1
View File
@@ -0,0 +1 @@
823
+46
View File
@@ -0,0 +1,46 @@
{
"Preferences": {
"ActivityFontSize": 8.0,
"AddCC": false,
"AutoScan": false,
"DiskFreeCheck": true,
"DiskFreeLimit": 10000.0,
"EncodeLogLocation": false,
"ExportDirectory": "/output",
"HideAdvancedVideoSettings": true,
"LogLongevity": "month",
"LoggingLevel": "1",
"MinTitleDuration": 10,
"PauseEncodingOnPowerSave": true,
"PreferredLanguage": "und",
"RemoveFinishedJobs": false,
"ShowMiniPreview": true,
"SrtDir": ".",
"SyncTitleSettings": true,
"UseM4v": true,
"VideoQualityGranularity": "1",
"WhenComplete": "nothing",
"allow_tweaks": false,
"auto_name": true,
"auto_name_template": "{source}",
"check_updates": "weekly",
"default_source": "/storage/dvd",
"destination_dir": "/output",
"hbfd": false,
"hbfd_feature": false,
"last_update_check": 0,
"live_duration": 15,
"preset_window_height": 1,
"preset_window_width": 1,
"preview_count": 10,
"preview_show_crop": false,
"preview_x": -1,
"preview_y": -1,
"reduce_hd_preview": true,
"update_skip_version": 0,
"use_dvdnav": true,
"version": "0.1",
"window_height": 951,
"window_width": 1920
}
}
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -12,7 +12,7 @@ services:
- "81:81"
- "443:443"
volumes:
- "${VOL_PATH:-./data/proxy}/proxy-data:/data"
- "${VOL_PATH:-./data/proxy-letsencrypt}/proxy-letsencrypt:/etc/letsencrypt"
- "${VOL_PATH:-./data}/proxy-data:/data"
- "${VOL_PATH:-./data}/proxy-letsencrypt:/etc/letsencrypt"
networks:
- proxy
+31 -2
View File
@@ -2,13 +2,42 @@
https://github.com/Trigus42/alpine-qbittorrentvpn
"Docker container which runs the latest qBittorrent-nox client while connecting to WireGuard or OpenVPN with netfilter killswitch to prevent IP leakage when the tunnel goes down."
## Default username
Admin
## WireGuard
The container will fail to boot if VPN_ENABLED is set and there is no valid INTERFACE.conf file present in the /config/wireguard directory. Drop a .conf file from your VPN provider into /config/wireguard and start the container again.
Recommended INTERFACE names include wg0 or wgvpn0 or even wgmgmtlan0. However, the number at the end is in fact optional, and really any free-form string [a-zA-Z0-9_=+.-]{1,15} will work. So even interface names corresponding to geographic locations would suffice, such as cincinnati, nyc, or paris, if that's somehow desirable. [source]
## Ensure Permissions
chmod 600 /path/to/wg0.conf
## Setup
env file
```text
# qbittorrent
COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
VOL_PATH=/project-dir/project-name/data #HELP: volpath
QBT_IMAGE=trigus42/qbittorrentvpn:latest
QBT_PASS=01234567890 #HELP: #HELP: gen32
```
extends file
```yaml
version: '3.4'
services:
qbittorrent:
extends:
file: ${COOKBOOK}/qbittorrent/docker-compose.yml
service: qbittorrent
env_file:
- .env
```
+5 -8
View File
@@ -1,18 +1,15 @@
version: "3.3"
# Username Admin
services:
qbittorrent:
image: trigus42/qbittorrentvpn
container_name: qbittorrent
image: ${QBT_IMAGE:-trigus42/qbittorrentvpn:latest}
environment:
- VPN_TYPE=wireguard
- WEBUI_PASSWORD=${QBIT_PASSWORD:-ChangeMePass}
- WEBUI_PASSWORD=${QBT_PASS:-ChangeMePass}
volumes:
- './data/config/:/config'
- './data/downloads/:/downloads'
- './data/incomplete/:/incomplete'
- "${VOL_PATH:-./data}/config:/config"
- "${VOL_PATH:-./data}/downloads:/downloads"
- "${VOL_PATH:-./data}/incomplete:/incomplete"
- '/dev/net/tun:/dev/net/tun'
ports:
- 8080:8080
+9
View File
@@ -0,0 +1,9 @@
version: '3.4'
services:
qbittorrent:
extends:
file: ${COOKBOOK}/qbittorrent/docker-compose.yml
service: qbittorrent
env_file:
- .env
+5
View File
@@ -0,0 +1,5 @@
# qbittorrent
COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
VOL_PATH=/project-dir/project-name/data #HELP: volpath
QBT_IMAGE=trigus42/qbittorrentvpn:latest
QBT_PASS=01234567890 #HELP: gen32
-2
View File
@@ -23,5 +23,3 @@ services:
- "${VOL_PATH:-./data}/stash-root:/root"
# Uncomment and use if needed
# network_mode: "host"