init
This commit is contained in:
110
qBittorrent/.drone.yml
Executable file
110
qBittorrent/.drone.yml
Executable file
@@ -0,0 +1,110 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy
|
||||
|
||||
environment:
|
||||
PACKAGE: qBittorrent
|
||||
URL: qbittorrent.alexlebens.net
|
||||
|
||||
steps:
|
||||
- name: Tests
|
||||
image: ps03fd.alexlebens.net:5000/droneimage:latest
|
||||
commands:
|
||||
- /scripts/tests.sh
|
||||
|
||||
- name: Nofification > Discord | Tests - Failure
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
username: DroneCI - ps03fd
|
||||
message: Docker compose validation for qBittorrent failed.
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
|
||||
- name: Configuration
|
||||
image: ps03fd.alexlebens.net:5000/droneimage:latest
|
||||
commands:
|
||||
- mkdir ~/.ssh/
|
||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-keyscan -H $HOST_IP >> ~/.ssh/known_hosts
|
||||
- /scripts/configuration.sh
|
||||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key_ps03fd_drone
|
||||
DOCKER_HOST:
|
||||
from_secret: docker_host_ps03fd
|
||||
HOST_IP:
|
||||
from_secret: host_ip_ps03fd
|
||||
UPTIMEKUMA_NAME:
|
||||
from_secret: uptimekuma_name
|
||||
UPTIMEKUMA_PASSWORD:
|
||||
from_secret: uptimekuma_password
|
||||
UPTIMEKUMA_URL:
|
||||
from_secret: uptimekuma_url
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
||||
- name: Nofification > Discord | Configuration - Failure
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
username: DroneCI - ps03fd
|
||||
message: Configuration for qBittorrent failed.
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
|
||||
- name: Deploy
|
||||
image: ps03fd.alexlebens.net:5000/droneimage:latest
|
||||
commands:
|
||||
- mkdir ~/.ssh/
|
||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-keyscan -H $HOST_IP >> ~/.ssh/known_hosts
|
||||
- /scripts/deploy.sh
|
||||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key_ps03fd_drone
|
||||
DOCKER_HOST:
|
||||
from_secret: docker_host_ps03fd
|
||||
HOST_IP:
|
||||
from_secret: host_ip_ps03fd
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
||||
- name: Nofification > Discord | Deploy - Success
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
username: DroneCI - ps03fd
|
||||
message: Docker compose deployment for qBittorrent succeeded
|
||||
when:
|
||||
status:
|
||||
- sucess
|
||||
|
||||
- name: Nofification > Discord | Deploy - Failure
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
username: DroneCI - ps03fd
|
||||
message: Docker compose deployment for qBittorrent failed.
|
||||
when:
|
||||
status:
|
||||
- failure
|
8
qBittorrent/.env
Executable file
8
qBittorrent/.env
Executable file
@@ -0,0 +1,8 @@
|
||||
VPN_ENABLED=yes
|
||||
VPN_TYPE=wireguard
|
||||
LAN_NETWORK=192.168.1.0/24,172.27.0.0/16,172.24.0.0/16
|
||||
RESTART_CONTAINER=no
|
||||
ADDITIONAL_PORTS=54944
|
||||
UMASK=002
|
||||
PUID=1024
|
||||
GUID=65536
|
4
qBittorrent/.exp.env
Executable file
4
qBittorrent/.exp.env
Executable file
@@ -0,0 +1,4 @@
|
||||
QBITTORRENT_PORT=8080
|
||||
QBITTORRENT_HOST=172.27.1.20
|
||||
QBITTORRENT_USER='torrent'
|
||||
QBITTORRENT_PASS='24wrsfxv@$WRSFXV'
|
37
qBittorrent/.unp.env
Executable file
37
qBittorrent/.unp.env
Executable file
@@ -0,0 +1,37 @@
|
||||
TZ=America/Denver
|
||||
# General config
|
||||
UN_DEBUG=false
|
||||
UN_LOG_FILE=
|
||||
UN_LOG_FILES=10
|
||||
UN_LOG_FILE_MB=10
|
||||
UN_INTERVAL=2m
|
||||
UN_START_DELAY=1m
|
||||
UN_RETRY_DELAY=5m
|
||||
UN_MAX_RETRIES=3
|
||||
UN_PARALLEL=3
|
||||
UN_FILE_MODE=0777
|
||||
UN_DIR_MODE=0777
|
||||
# Sonarr Config
|
||||
UN_SONARR_0_URL=http://sonarr:8989
|
||||
UN_SONARR_0_API_KEY=7f0dfeea4b9f410d96b5ffa2f809d1e8
|
||||
UN_SONARR_0_PATHS_0=/mnt/store/Torrent/FINISHED/SONARR
|
||||
UN_SONARR_0_PROTOCOLS=torrent
|
||||
UN_SONARR_0_TIMEOUT=10s
|
||||
UN_SONARR_0_DELETE_ORIG=false
|
||||
UN_SONARR_0_DELETE_DELAY=30m
|
||||
# Radarr Config
|
||||
UN_RADARR_0_URL=http://radarr:7878
|
||||
UN_RADARR_0_API_KEY=e6e3d6f4aafe4e499d970cfcbf042db9
|
||||
UN_RADARR_0_PATHS_0=/mnt/store/Torrent/FINISHED/RADARR
|
||||
UN_RADARR_0_PROTOCOLS=torrent
|
||||
UN_RADARR_0_TIMEOUT=10s
|
||||
UN_RADARR_0_DELETE_ORIG=false
|
||||
UN_RADARR_0_DELETE_DELAY=30m
|
||||
# Lidarr Config
|
||||
UN_LIDARR_0_URL=http://lidarr:8686
|
||||
UN_LIDARR_0_API_KEY=d25bd6d24f4e4b90a21fc5b70bcb9fd9
|
||||
UN_LIDARR_0_PATHS_0=/mnt/store/Torrent/FINISHED/RADARR
|
||||
UN_LIDARR_0_PROTOCOLS=torrent
|
||||
UN_LIDARR_0_TIMEOUT=10s
|
||||
UN_LIDARR_0_DELETE_ORIG=false
|
||||
UN_LIDARR_0_DELETE_DELAY=30m
|
56
qBittorrent/Files/qbittorrent_config/qBittorrent/config/categories.json
Executable file
56
qBittorrent/Files/qbittorrent_config/qBittorrent/config/categories.json
Executable file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"ALPHA": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/ALPHA"
|
||||
},
|
||||
"Avistaz": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/AVISTAZ"
|
||||
},
|
||||
"CRT": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/CRT"
|
||||
},
|
||||
"Cinemaz": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/CINEMAZ"
|
||||
},
|
||||
"Save": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/SAVE"
|
||||
},
|
||||
"TorrentLeech": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/TORRENTLEECH"
|
||||
},
|
||||
"books-readarr-books": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/READARR-BOOKS"
|
||||
},
|
||||
"books-readarr-audio": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/READARR-AUDIO"
|
||||
},
|
||||
"movies-radarr": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/RADARR"
|
||||
},
|
||||
"movies-radarr-anime": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/RADARR-ANIME"
|
||||
},
|
||||
"movies-radarr-art": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/RADARR-ART"
|
||||
},
|
||||
"movies-radarr-documentaries": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/RADARR-DOCU"
|
||||
},
|
||||
"movies-radarr-standup": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/RADARR-SU"
|
||||
},
|
||||
"music-lidarr": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/LIDARR"
|
||||
},
|
||||
"prowlarr": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/SAVE"
|
||||
},
|
||||
"tv-sonarr": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/SONARR"
|
||||
},
|
||||
"tv-sonarr-anime": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/SONARR-ANIME"
|
||||
},
|
||||
"tv-sonarr-documentaries": {
|
||||
"save_path": "/mnt/store/Torrent/FINISHED/SONARR-DOCU"
|
||||
}
|
||||
}
|
106
qBittorrent/Files/qbittorrent_config/qBittorrent/config/qBittorrent.conf
Executable file
106
qBittorrent/Files/qbittorrent_config/qBittorrent/config/qBittorrent.conf
Executable file
@@ -0,0 +1,106 @@
|
||||
[Application]
|
||||
MemoryWorkingSetLimit=2048
|
||||
|
||||
[AutoRun]
|
||||
OnTorrentAdded\Enabled=false
|
||||
OnTorrentAdded\Program=
|
||||
enabled=false
|
||||
program=
|
||||
|
||||
[BitTorrent]
|
||||
Session\AlternativeGlobalDLSpeedLimit=1000
|
||||
Session\AlternativeGlobalUPSpeedLimit=1000
|
||||
Session\BTProtocol=TCP
|
||||
Session\DHTEnabled=true
|
||||
Session\DefaultSavePath=/mnt/store/Torrent/FINISHED/SAVE
|
||||
Session\DisableAutoTMMByDefault=false
|
||||
Session\DisableAutoTMMTriggers\CategorySavePathChanged=false
|
||||
Session\DisableAutoTMMTriggers\DefaultSavePathChanged=false
|
||||
Session\DiskCacheTTL=600
|
||||
Session\DiskQueueSize=2097152
|
||||
Session\ExcludedFileNames=
|
||||
Session\GlobalDLSpeedLimit=51200
|
||||
Session\GlobalMaxRatio=-1
|
||||
Session\GlobalUPSpeedLimit=20500
|
||||
Session\IgnoreLimitsOnLAN=true
|
||||
Session\Interface=wg0
|
||||
Session\InterfaceAddress=10.64.2.107
|
||||
Session\InterfaceName=wg0
|
||||
Session\LSDEnabled=true
|
||||
Session\MaxActiveCheckingTorrents=3
|
||||
Session\MaxConnections=-1
|
||||
Session\MaxConnectionsPerTorrent=50
|
||||
Session\MaxRatioAction=2
|
||||
Session\MaxUploads=-1
|
||||
Session\MaxUploadsPerTorrent=10
|
||||
Session\PeXEnabled=true
|
||||
Session\Port=54944
|
||||
Session\Preallocation=true
|
||||
Session\QueueingSystemEnabled=false
|
||||
Session\SSRFMitigation=false
|
||||
Session\TempPath=/mnt/store/Torrent/DOWNLOADING
|
||||
Session\TempPathEnabled=true
|
||||
Session\TorrentExportDirectory=/mnt/store/Torrent/TORRENT/SAVE
|
||||
Session\UseAlternativeGlobalSpeedLimit=false
|
||||
Session\UseRandomPort=true
|
||||
Session\ValidateHTTPSTrackerCertificate=false
|
||||
Session\uTPRateLimited=false
|
||||
|
||||
[Core]
|
||||
AutoDeleteAddedTorrentFile=Never
|
||||
|
||||
[Meta]
|
||||
MigrationVersion=4
|
||||
|
||||
[Network]
|
||||
PortForwardingEnabled=false
|
||||
Proxy\OnlyForTorrents=false
|
||||
|
||||
[Preferences]
|
||||
Advanced\RecheckOnCompletion=true
|
||||
Advanced\trackerPort=9000
|
||||
Advanced\trackerPortForwarding=false
|
||||
Connection\ResolvePeerCountries=true
|
||||
DynDNS\DomainName=changeme.dyndns.org
|
||||
DynDNS\Enabled=false
|
||||
DynDNS\Password=
|
||||
DynDNS\Service=DynDNS
|
||||
DynDNS\Username=
|
||||
General\Locale=
|
||||
MailNotification\email=
|
||||
MailNotification\enabled=false
|
||||
MailNotification\password=
|
||||
MailNotification\req_auth=true
|
||||
MailNotification\req_ssl=false
|
||||
MailNotification\sender=qBittorrent_notification@example.com
|
||||
MailNotification\smtp_server=smtp.changeme.com
|
||||
MailNotification\username=
|
||||
WebUI\Address=172.27.1.20
|
||||
WebUI\AlternativeUIEnabled=false
|
||||
WebUI\AuthSubnetWhitelist=192.168.1.0/24, 172.27.0.0/16, 172.24.0.0/16
|
||||
WebUI\AuthSubnetWhitelistEnabled=false
|
||||
WebUI\BanDuration=0
|
||||
WebUI\CSRFProtection=false
|
||||
WebUI\ClickjackingProtection=false
|
||||
WebUI\CustomHTTPHeaders="content-security-policy: default-src 'self'; style-src 'self' 'unsafe-inline' themepark.alexlebens.net raw.githubusercontent.com use.fontawesome.com; img-src 'self' themepark.alexlebens.net raw.githubusercontent.com data:; script-src 'self' 'unsafe-inline'; object-src 'none'; form-action 'self'; frame-ancestors 'self'; font-src use.fontawesome.com;\n"
|
||||
WebUI\CustomHTTPHeadersEnabled=true
|
||||
WebUI\HTTPS\CertificatePath=
|
||||
WebUI\HTTPS\Enabled=false
|
||||
WebUI\HTTPS\KeyPath=
|
||||
WebUI\HostHeaderValidation=false
|
||||
WebUI\LocalHostAuth=true
|
||||
WebUI\MaxAuthenticationFailCount=0
|
||||
WebUI\Password_PBKDF2="@ByteArray(Cs3hXfaExC4CSb2veRYppg==:c9Idm6dkoAAumrSsWq5w+SCjkZmkre2SrO602MHBEaxUoaUNI5ucUAFZ4uiydNFt/5Og3hjnTLPHQOA9U/Oyvw==)"
|
||||
WebUI\Port=8080
|
||||
WebUI\ReverseProxySupportEnabled=false
|
||||
WebUI\RootFolder=
|
||||
WebUI\SecureCookie=true
|
||||
WebUI\ServerDomains=*
|
||||
WebUI\SessionTimeout=3600
|
||||
WebUI\TrustedReverseProxiesList=
|
||||
WebUI\UseUPnP=false
|
||||
WebUI\Username=torrent
|
||||
|
||||
[RSS]
|
||||
AutoDownloader\DownloadRepacks=false
|
||||
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"
|
18
qBittorrent/Files/qbittorrent_config/qBittorrent/config/watched_folders.json
Executable file
18
qBittorrent/Files/qbittorrent_config/qBittorrent/config/watched_folders.json
Executable file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"/mnt/store/Torrent/TORRENT/IMPORT": {
|
||||
"add_torrent_params": {
|
||||
"category": "Save",
|
||||
"download_limit": -1,
|
||||
"download_path": "/mnt/store/Torrent/FINISHED/SAVE",
|
||||
"operating_mode": "AutoManaged",
|
||||
"ratio_limit": -2,
|
||||
"save_path": "",
|
||||
"seeding_time_limit": -2,
|
||||
"skip_checking": false,
|
||||
"tags": [
|
||||
],
|
||||
"upload_limit": -1
|
||||
},
|
||||
"recursive": false
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = aKuw2LfrVCdIcs+ex8TeEjhSoC91+P9a83lEy6Y7rFI=
|
||||
Address = 10.64.2.107/32,fc00:bbbb:bbbb:bb01::1:26a/128
|
||||
DNS = 10.64.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = 3clcc9092sgEsFGrUfcCBUzT9tN6uy12t77uTmSLqwc=
|
||||
AllowedIPs = 0.0.0.0/0,::0/0
|
||||
Endpoint = 198.44.128.194:54944
|
@@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = aKuw2LfrVCdIcs+ex8TeEjhSoC91+P9a83lEy6Y7rFI=
|
||||
Address = 10.64.2.107/32,fc00:bbbb:bbbb:bb01::1:26a/128
|
||||
DNS = 10.64.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = jh3kAesaULbfC0h7VHwNPiTrz04vPC0Aa4kwRjy2+2Q=
|
||||
AllowedIPs = 0.0.0.0/0,::0/0
|
||||
Endpoint = 198.44.128.162:54944
|
@@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = aKuw2LfrVCdIcs+ex8TeEjhSoC91+P9a83lEy6Y7rFI=
|
||||
Address = 10.64.2.107/32,fc00:bbbb:bbbb:bb01::1:26a/128
|
||||
DNS = 10.64.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = v7CG+wctmTw9LxuWBp3tGARithgbDU7nZZduSefkqzg=
|
||||
AllowedIPs = 0.0.0.0/0,::0/0
|
||||
Endpoint = 198.44.128.130:54944
|
@@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = aKuw2LfrVCdIcs+ex8TeEjhSoC91+P9a83lEy6Y7rFI=
|
||||
Address = 10.64.2.107/32,fc00:bbbb:bbbb:bb01::1:26a/128
|
||||
DNS = 10.64.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = 74U+9EQrMwVOafgXuSp8eaKG0+p4zjSsDe3J7+ojhx0=
|
||||
AllowedIPs = 0.0.0.0/0,::0/0
|
||||
Endpoint = 37.19.210.1:54944
|
@@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = aKuw2LfrVCdIcs+ex8TeEjhSoC91+P9a83lEy6Y7rFI=
|
||||
Address = 10.64.2.107/32,fc00:bbbb:bbbb:bb01::1:26a/128
|
||||
DNS = 10.64.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = Az+PGHQ0xFElmRBv+PKZuRnEzKPrPtUpRD3vpxb4si4=
|
||||
AllowedIPs = 0.0.0.0/0,::0/0
|
||||
Endpoint = 37.19.210.27:54944
|
9
qBittorrent/Files/qbittorrent_config/wireguard/wg0.conf
Executable file
9
qBittorrent/Files/qbittorrent_config/wireguard/wg0.conf
Executable file
@@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
PrivateKey = aKuw2LfrVCdIcs+ex8TeEjhSoC91+P9a83lEy6Y7rFI=
|
||||
Address = 10.64.2.107/32,fc00:bbbb:bbbb:bb01::1:26a/128
|
||||
DNS = 10.64.0.1
|
||||
|
||||
[Peer]
|
||||
PublicKey = 3clcc9092sgEsFGrUfcCBUzT9tN6uy12t77uTmSLqwc=
|
||||
AllowedIPs = 0.0.0.0/0,::0/0
|
||||
Endpoint = 198.44.128.194:54944
|
210
qBittorrent/Files/qbittorrent_unpackerr_config/unpackerr.conf
Executable file
210
qBittorrent/Files/qbittorrent_unpackerr_config/unpackerr.conf
Executable file
@@ -0,0 +1,210 @@
|
||||
### GENERAL
|
||||
|
||||
debug = false
|
||||
quiet = false
|
||||
activity = false
|
||||
log_queues = "1m"
|
||||
# log_file = '/tmp/unpackerr.log'
|
||||
log_files = 10
|
||||
log_file_mb = 10
|
||||
interval = "2m"
|
||||
start_delay = "5m"
|
||||
retry_delay = "5m"
|
||||
parallel = 1
|
||||
file_mode = "0777"
|
||||
dir_mode = "0777"
|
||||
|
||||
|
||||
### SONARR
|
||||
|
||||
# Primary Sonarr
|
||||
[[sonarr]]
|
||||
url = "http://sonarr:8989"
|
||||
api_key = "7f0dfeea4b9f410d96b5ffa2f809d1e8"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/SONARR']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "15m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
# Anime Sonarr
|
||||
[[sonarr]]
|
||||
url = "http://sonarr_anime:8989"
|
||||
api_key = "a2f10e70559c4ee3b8ff1d6cdc5a41f1"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/SONARR-ANIME']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "15m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
# Documentary Sonarr
|
||||
[[sonarr]]
|
||||
url = "http://sonarr_documentaries:8989"
|
||||
api_key = "3ed988c3731b45ad8124b7d55b620d6b"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/SONARR-DOCU']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "15m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
|
||||
### RADARR
|
||||
|
||||
# Primary Radarr
|
||||
[[radarr]]
|
||||
url = "http://radarr:7878"
|
||||
api_key = "e6e3d6f4aafe4e499d970cfcbf042db9"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/RADARR']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
# Anime Radarr
|
||||
[[radarr]]
|
||||
url = "http://radarr_anime:7878"
|
||||
api_key = "fb126bad31d64d43bb669ad81329954d"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/RADARR-ANIME']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
# Art Radarr
|
||||
[[radarr]]
|
||||
url = "http://radarr_art:7878"
|
||||
api_key = "32365893c4234f8a9ad96d68d6e7a520"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/RADARR-ART']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
# Documentary Radarr
|
||||
[[radarr]]
|
||||
url = "http://radarr_documentaries:7878"
|
||||
api_key = "fd03f47363324096a56d0a453623420b"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/RADARR-DOCU']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
# Stand Up Radarr
|
||||
[[radarr]]
|
||||
url = "http://radarr_standup:7878"
|
||||
api_key = "c7c425b3fbcf4112895aceec7729f4d1"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/RADARR-SU']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
|
||||
### LIDARR
|
||||
|
||||
# Primary Lidarr
|
||||
[[lidarr]]
|
||||
url = "http://lidarr:8686"
|
||||
api_key = "d25bd6d24f4e4b90a21fc5b70bcb9fd9"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/LIDARR']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
|
||||
### READARR
|
||||
|
||||
# Readarr Books
|
||||
[[readarr]]
|
||||
url = "http://readarr_books:8787"
|
||||
api_key = "1c1b9d5e69ec4b2aa1a85301d48d1573"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/READARR-BOOKS']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
# Readarr Audio
|
||||
[[readarr]]
|
||||
url = "http://readarr_audio:8787"
|
||||
api_key = "3be1176f6e6b461fa4f5eab9d39fd29f"
|
||||
paths = ['/mnt/store/Torrent/FINISHED/READARR-AUDIO']
|
||||
protocols = "torrent"
|
||||
timeout = "10s"
|
||||
delete_delay = "5m"
|
||||
delete_orig = false
|
||||
syncthing = false
|
||||
|
||||
|
||||
### OTHER
|
||||
|
||||
#[[folder]]
|
||||
# path = '/some/folder/to/watch'
|
||||
## Path to extract files to. The default (leaving this blank) is the same as `path` (above).
|
||||
# extract_path = ""
|
||||
## Delete extracted or original files this long after extraction.
|
||||
## The default is 0. Set to 0 to disable all deletes. Uncomment it to enable deletes. Uses Go Duration.
|
||||
# delete_after = "10m"
|
||||
## Delete extracted files after successful extraction? true/false, no quotes. Honors delete_after.
|
||||
# delete_files = false
|
||||
## Delete original items after successful extraction? true/false, no quotes. Honors delete_after.
|
||||
# delete_original = false
|
||||
## Disable extraction log (unpackerred.txt) file creation? true/false, no quotes.
|
||||
# disable_log = false
|
||||
## Move extracted files into original folder? If false, files go into an _unpackerred folder.
|
||||
# move_back = false
|
||||
## Set this to true if you want this app to extract ISO files with .iso extension.
|
||||
# extract_isos = false
|
||||
|
||||
|
||||
################
|
||||
### Webhooks ###
|
||||
################
|
||||
# Sends a webhook when an extraction queues, starts, finishes, and/or is deleted.
|
||||
# Created to integrate with notifiarr.com.
|
||||
# Also works natively with Discord.com, Telegram.org, and Slack.com webhooks.
|
||||
# Can possibly be used with other services by providing a custom template_path.
|
||||
###### Don't forget to uncomment [[webhook]] and url at a minimum !!!!
|
||||
#[[webhook]]
|
||||
# url = "https://notifiarr.com/api/v1/notification/unpackerr/api_key_from_notifiarr_com"
|
||||
# name = "" # Set this to hide the URL in logs.
|
||||
# silent = false # do not log success (less log spam)
|
||||
# events = [0] # list of event ids to include, 0 == all.
|
||||
## Advanced Optional Webhook Configuration
|
||||
# nickname = "" # Used in Discord and Slack templates as bot name, in Telegram as chat_id.
|
||||
# channel = "" # Also passed into templates. Used in Slack templates for destination channel.
|
||||
# exclude = [] # list of apps to exclude, ie. ["radarr", "lidarr"]
|
||||
# template_path = "" # Override internal webhook template for discord.com or other hooks.
|
||||
# template = "" # Override automatic template detection. Values: notifiarr, discord, telegram, gotify, pushover, slack
|
||||
# ignore_ssl = false # Set this to true to ignore the SSL certificate on the server.
|
||||
# timeout = "10s" # You can adjust how long to wait for a server response.
|
||||
# content_type = "application/json" # If your custom template uses another MIME type, set this.
|
||||
|
||||
|
||||
#####################
|
||||
### Command Hooks ###
|
||||
#####################
|
||||
# Executes a script or command when an extraction queues, starts, finishes, and/or is deleted.
|
||||
# All data is passed in as environment variables. Try /usr/bin/env to see what variables are available.
|
||||
###### Don't forget to uncomment [[cmdhook]] and url at a minimum !!!!
|
||||
#[[cmdhook]]
|
||||
# command = '/my/cool/app' # Path to command or script.
|
||||
# shell = false # Runs the command inside /bin/sh ('nix) or cmd.exe (Windows).
|
||||
# name = "" # Provide an optional name for logging.
|
||||
# silent = false # Hides command output from logs.
|
||||
# events = [0] # list of event ids to include, 0 == all.
|
||||
## Optional Command Hook Configuration
|
||||
# exclude = [] # list of apps to exclude, ie. ["radarr", "lidarr"]
|
||||
# timeout = "10s" # You can adjust how long to wait for a server response.
|
3
qBittorrent/README.md
Executable file
3
qBittorrent/README.md
Executable file
@@ -0,0 +1,3 @@
|
||||
# qBittorrent
|
||||
|
||||
[](https://drone.alexlebens.net/alexlebens/qBittorrent)
|
17
qBittorrent/UptimeKuma/docker-1.json
Executable file
17
qBittorrent/UptimeKuma/docker-1.json
Executable file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "docker",
|
||||
"name": "qBittorrent - Docker",
|
||||
"interval": 60,
|
||||
"retryInterval": 20,
|
||||
"maxretries": 1,
|
||||
"notificationIDList": [
|
||||
3,
|
||||
4
|
||||
],
|
||||
"url": "https://qbittorrent.alexlebens.net",
|
||||
"accepted_statuscodes": [
|
||||
"200-299"
|
||||
],
|
||||
"docker_container": "qbittorrent",
|
||||
"docker_host": 1
|
||||
}
|
17
qBittorrent/UptimeKuma/docker-2.json
Executable file
17
qBittorrent/UptimeKuma/docker-2.json
Executable file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "docker",
|
||||
"name": "qBittorrent Exporter - Docker",
|
||||
"interval": 60,
|
||||
"retryInterval": 20,
|
||||
"maxretries": 1,
|
||||
"notificationIDList": [
|
||||
3,
|
||||
4
|
||||
],
|
||||
"url": "https://qbittorrent.alexlebens.net:9000/metrics",
|
||||
"accepted_statuscodes": [
|
||||
"200-299"
|
||||
],
|
||||
"docker_container": "qbittorrent_exporter",
|
||||
"docker_host": 1
|
||||
}
|
15
qBittorrent/UptimeKuma/http-1.json
Executable file
15
qBittorrent/UptimeKuma/http-1.json
Executable file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "http",
|
||||
"name": "qBittorrent - Web",
|
||||
"interval": 60,
|
||||
"retryInterval": 20,
|
||||
"maxretries": 1,
|
||||
"notificationIDList": [
|
||||
3,
|
||||
4
|
||||
],
|
||||
"url": "https://qbittorrent.alexlebens.net",
|
||||
"accepted_statuscodes": [
|
||||
"200-299"
|
||||
]
|
||||
}
|
15
qBittorrent/UptimeKuma/http-2.json
Executable file
15
qBittorrent/UptimeKuma/http-2.json
Executable file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "http",
|
||||
"name": "qBittorrent Exporter - Web",
|
||||
"interval": 60,
|
||||
"retryInterval": 20,
|
||||
"maxretries": 1,
|
||||
"notificationIDList": [
|
||||
3,
|
||||
4
|
||||
],
|
||||
"url": "http://qbittorrent_exporter:8000/metrics",
|
||||
"accepted_statuscodes": [
|
||||
"200-299"
|
||||
]
|
||||
}
|
143
qBittorrent/docker-compose.yml
Executable file
143
qBittorrent/docker-compose.yml
Executable file
@@ -0,0 +1,143 @@
|
||||
services:
|
||||
qbittorrent:
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
container_name: qbittorrent
|
||||
env_file:
|
||||
- .env
|
||||
image: dyonr/qbittorrentvpn
|
||||
labels:
|
||||
traefik.docker.network: traefik
|
||||
traefik.enable: true
|
||||
traefik.http.routers.qbittorrent.entrypoints: websecure
|
||||
traefik.http.routers.qbittorrent.rule: Host(`qbittorrent.alexlebens.net`)
|
||||
traefik.http.routers.qbittorrent.service: qbittorrent
|
||||
traefik.http.routers.qbittorrent.middlewares: qbittorrent-theme@file
|
||||
traefik.http.services.qbittorrent.loadbalancer.server.port: 8080
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 50m
|
||||
max-file: "3"
|
||||
networks:
|
||||
traefik:
|
||||
ipv4_address: 172.27.1.20
|
||||
privileged: true
|
||||
restart: always
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=0
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
user: root
|
||||
volumes:
|
||||
- config:/config
|
||||
- downloads:/downloads
|
||||
- torrent_nfs:/mnt/store/Torrent
|
||||
|
||||
qbittorrent_exporter:
|
||||
container_name: qbittorrent_exporter
|
||||
depends_on:
|
||||
- qbittorrent
|
||||
env_file:
|
||||
- .exp.env
|
||||
image: esanchezm/prometheus-qbittorrent-exporter
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 50m
|
||||
max-file: "3"
|
||||
networks:
|
||||
traefik:
|
||||
ipv4_address: 172.27.1.21
|
||||
restart: always
|
||||
|
||||
unpackerr:
|
||||
container_name: qbittorrent_unpackerr
|
||||
env_file:
|
||||
- .unp.env
|
||||
image: hotio/unpackerr
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 50m
|
||||
max-file: "3"
|
||||
networks:
|
||||
traefik: null
|
||||
restart: always
|
||||
privileged: true
|
||||
user: root
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
volumes:
|
||||
- unpconfig:/config
|
||||
- unplogs:/tmp
|
||||
- torrent_nfs_finished:/mnt/store/Torrent/FINISHED
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
name: traefik
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /var/lib/docker/volumes/partition/qbittorrent_config
|
||||
|
||||
downloads:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /var/lib/docker/volumes/partition/qbittorrent_downloads
|
||||
|
||||
unplogs:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /var/lib/docker/volumes/partition/qbittorrent_unpackerr
|
||||
|
||||
unpconfig:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /var/lib/docker/volumes/partition/qbittorrent_unpackerr_config
|
||||
|
||||
# torrent_cifs_finished:
|
||||
# driver: local
|
||||
# driver_opts:
|
||||
# type: cifs
|
||||
# o: username=storage,password=24wrsfxv@$$WRSFXV,file_mode=0777,dir_mode=0777
|
||||
# device: //192.168.1.194/Storage/Torrent/FINISHED
|
||||
|
||||
# torrent_nfs_downloading:
|
||||
# driver: local
|
||||
# driver_opts:
|
||||
# type: nfs
|
||||
# o: addr=192.168.1.194,nfsvers=4
|
||||
# device: :/volume2/Storage/Torrent/DOWNLOADING
|
||||
|
||||
# torrent_nfs_torrent:
|
||||
# driver: local
|
||||
# driver_opts:
|
||||
# type: nfs
|
||||
# o: addr=192.168.1.194,nfsvers=4
|
||||
# device: :/volume2/Storage/Torrent/TORRENT
|
||||
|
||||
torrent_nfs:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=192.168.1.194,nfsvers=4
|
||||
device: :/volume2/Storage/Torrent
|
||||
|
||||
torrent_nfs_finished:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=192.168.1.194,nfsvers=4
|
||||
device: :/volume2/Storage/Torrent/FINISHED
|
Reference in New Issue
Block a user