Compare commits
4 Commits
43d8d4a953
...
b19dbe8401
Author | SHA1 | Date | |
---|---|---|---|
b19dbe8401
|
|||
5b9210750a | |||
000c589d06 | |||
5afc4cfd10 |
@@ -1,5 +1,28 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: audiobookshelf-apprise-config
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: audiobookshelf-apprise-config
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
||||
name: vault
|
||||
data:
|
||||
- secretKey: ntfy-url
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/audiobookshelf/apprise
|
||||
metadataPolicy: None
|
||||
property: ntfy-url
|
||||
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: audiobookshelf-config-backup-secret
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
@@ -0,0 +1,19 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: audiobookshelf-apprise
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: audiobookshelf-apprise
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: apprise
|
||||
interval: 30s
|
||||
scrapeTimeout: 15s
|
||||
path: /metrics
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: audiobookshelf
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
@@ -18,6 +18,37 @@ audiobookshelf:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
apprise-api:
|
||||
image:
|
||||
repository: caronc/apprise
|
||||
tag: 1.2.0
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
value: US/Central
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: IPV4_ONLY
|
||||
value: true
|
||||
- name: APPRISE_STORAGE_MODE
|
||||
value: memory
|
||||
- name: APPRISE_STATEFUL_MODE
|
||||
value: disabled
|
||||
- name: APPRISE_WORKER_COUNT
|
||||
value: 1
|
||||
- name: APPRISE_STATELESS_URLS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: audiobookshelf-apprise-config
|
||||
key: ntfy-url
|
||||
- name: ALLOWED_HOSTS
|
||||
value: localhost
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
@@ -26,6 +57,10 @@ audiobookshelf:
|
||||
port: 80
|
||||
targetPort: 80
|
||||
protocol: HTTP
|
||||
apprise:
|
||||
port: 8000
|
||||
targetPort: 8000
|
||||
protocol: HTTP
|
||||
persistence:
|
||||
config:
|
||||
storageClass: ceph-block
|
||||
|
@@ -33,53 +33,62 @@ data:
|
||||
# https://github.com/StuffAnThings/qbit_manage/wiki/Config-Setup
|
||||
|
||||
commands:
|
||||
dry_run: True
|
||||
recheck: False
|
||||
cat_update: False
|
||||
tag_update: False
|
||||
rem_unregistered: False
|
||||
tag_tracker_error: False
|
||||
rem_orphaned: False
|
||||
tag_nohardlinks: False
|
||||
share_limits: False
|
||||
skip_qb_version_check: False
|
||||
skip_cleanup: False
|
||||
dry_run: true
|
||||
recheck: false
|
||||
cat_update: false
|
||||
tag_update: false
|
||||
rem_unregistered: false
|
||||
tag_tracker_error: false
|
||||
rem_orphaned: false
|
||||
tag_nohardlinks: false
|
||||
share_limits: false
|
||||
skip_qb_version_check: false
|
||||
skip_cleanup: false
|
||||
|
||||
qbt:
|
||||
host: "localhost:8080"
|
||||
host: localhost:8080
|
||||
user:
|
||||
pass:
|
||||
|
||||
settings:
|
||||
force_auto_tmm: True
|
||||
force_auto_tmm: true
|
||||
tracker_error_tag: tracker-error
|
||||
share_limits_tag: share-limit
|
||||
share_limits_min_seeding_time_tag: seed-time-not-reached
|
||||
cat_filter_completed: False
|
||||
share_limits_filter_completed: False
|
||||
rem_unregistered_filter_completed: False
|
||||
cat_update_all: True
|
||||
disable_qbt_default_share_limits: True
|
||||
tag_stalled_torrents: True
|
||||
cat_filter_completed: false
|
||||
share_limits_filter_completed: false
|
||||
rem_unregistered_filter_completed: false
|
||||
cat_update_all: true
|
||||
disable_qbt_default_share_limits: true
|
||||
tag_stalled_torrents: true
|
||||
nohardlinks_tag: no-hardlinks
|
||||
stalled_tag: stalled
|
||||
share_limits_min_num_seeds_tag: min-seeds-not-reached
|
||||
share_limits_last_active_tag: last-active-not-reached
|
||||
tag_nohardlinks_filter_completed: true
|
||||
force_auto_tmm_ignore_tags: []
|
||||
rem_unregistered_ignore_list: []
|
||||
|
||||
directory:
|
||||
root_dir: "/mnt/store/Torrent/"
|
||||
recycle_bin: "/qbittorrent/Trash"
|
||||
torrents_dir: "/qbittorrent/qBittorrent/BT_backup"
|
||||
orphaned_dir: "/qbittorrent/Orphaned"
|
||||
root_dir: /mnt/store/Torrent/
|
||||
recycle_bin: /qbittorrent/Trash
|
||||
torrents_dir: /qbittorrent/qBittorrent/BT_backup
|
||||
orphaned_dir: /qbittorrent/Orphaned
|
||||
|
||||
cat:
|
||||
lidarr: "/mnt/store/Torrent/FINISHED/LIDARR"
|
||||
prowlarr: "/mnt/store/Torrent/FINISHED/SAVE"
|
||||
radarr: "/mnt/store/Torrent/FINISHED/RADARR"
|
||||
radarr-4k: "/mnt/store/Torrent/FINISHED/RADARR4K"
|
||||
radarr-anime: "/mnt/store/Torrent/FINISHED/RADARRANIME"
|
||||
radarr-standup: "/mnt/store/Torrent/FINISHED/RADARRSTANDUP"
|
||||
sonarr: "/mnt/store/Torrent/FINISHED/SONARR"
|
||||
sonarr-4k: "/mnt/store/Torrent/FINISHED/SONARR4K"
|
||||
sonarr-anime: "/mnt/store/Torrent/FINISHED/SONARRANIME"
|
||||
"-< ZIM": "/mnt/store/Kiwix"
|
||||
"-< SAVE": "/mnt/store/Torrent/FINISHED/SAVE"
|
||||
"-< IMPORT": "/mnt/store/Torrent/FINISHED/IMPORT"
|
||||
"-< COMPLETED": /mnt/store/Torrent/FINISHED/COMPLETED
|
||||
lidarr: /mnt/store/Torrent/FINISHED/LIDARR
|
||||
prowlarr: /mnt/store/Torrent/FINISHED/SAVE
|
||||
radarr: /mnt/store/Torrent/FINISHED/RADARR
|
||||
radarr-4k: /mnt/store/Torrent/FINISHED/RADARR4K
|
||||
radarr-anime: /mnt/store/Torrent/FINISHED/RADARRANIME
|
||||
radarr-standup: /mnt/store/Torrent/FINISHED/RADARRSTANDUP
|
||||
sonarr: /mnt/store/Torrent/FINISHED/SONARR
|
||||
sonarr-4k: /mnt/store/Torrent/FINISHED/SONARR4K
|
||||
sonarr-anime: /mnt/store/Torrent/FINISHED/SONARRANIME
|
||||
-< ZIM: /mnt/store/Kiwix
|
||||
-< SAVE: /mnt/store/Torrent/FINISHED/SAVE
|
||||
-< IMPORT: /mnt/store/Torrent/FINISHED/IMPORT
|
||||
-< COMPLETED: /mnt/store/Torrent/FINISHED/COMPLETED
|
||||
|
||||
tracker:
|
||||
alpharatio.cc:
|
||||
@@ -97,10 +106,10 @@ data:
|
||||
private:
|
||||
priority: 1
|
||||
include_all_tags:
|
||||
- AlphaRatio
|
||||
- TorrentLeech
|
||||
- AlphaRatio
|
||||
- TorrentLeech
|
||||
categories:
|
||||
- "-< COMPLETED"
|
||||
- -< COMPLETED
|
||||
max_ratio: 2.0
|
||||
min_seeding_time: 14d
|
||||
max_seeding_time: 30d
|
||||
@@ -110,7 +119,7 @@ data:
|
||||
default:
|
||||
priority: 999
|
||||
categories:
|
||||
- "-< COMPLETED"
|
||||
- -< COMPLETED
|
||||
max_ratio: 2.0
|
||||
max_seeding_time: 7d
|
||||
limit_upload_speed: 100
|
||||
@@ -125,15 +134,16 @@ data:
|
||||
orphaned:
|
||||
empty_after_x_days: 30
|
||||
exclude_patterns:
|
||||
- "**/.DS_Store"
|
||||
- "**/Thumbs.db"
|
||||
- "**/@eaDir"
|
||||
- "/data/torrents/temp/**"
|
||||
- "**/*.!qB"
|
||||
- "**/*_unpackerred"
|
||||
- '**/.DS_Store'
|
||||
- '**/Thumbs.db'
|
||||
- '**/@eaDir'
|
||||
- /data/torrents/temp/**
|
||||
- '**/*.!qB'
|
||||
- '**/*_unpackerred'
|
||||
max_orphaned_files_to_delete: 50
|
||||
|
||||
apprise:
|
||||
api_url: http://localhost:8000/notify
|
||||
notify_url: !ENV QBIT_NTFY_URL
|
||||
|
||||
webhooks:
|
||||
@@ -143,3 +153,5 @@ data:
|
||||
function:
|
||||
rem_orphaned: apprise
|
||||
cleanup_dirs: apprise
|
||||
tag_tracker_error:
|
||||
share_limits:
|
||||
|
@@ -17,3 +17,24 @@ spec:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: qbittorrent
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: qbittorrent-apprise
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app.kubernetes.io/name: qbittorrent-apprise
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: apprise
|
||||
interval: 30s
|
||||
scrapeTimeout: 15s
|
||||
path: /metrics
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: qbittorrent
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
|
@@ -129,6 +129,8 @@ qbittorrent:
|
||||
tag: v4.3.0
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
value: US/Central
|
||||
- name: QBT_SCHEDULE
|
||||
value: 0 * * * *
|
||||
- name: QBT_STARTUP_DELAY
|
||||
@@ -148,6 +150,37 @@ qbittorrent:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
apprise-api:
|
||||
image:
|
||||
repository: caronc/apprise
|
||||
tag: 1.2.0
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: TZ
|
||||
value: US/Central
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: IPV4_ONLY
|
||||
value: true
|
||||
- name: APPRISE_STORAGE_MODE
|
||||
value: memory
|
||||
- name: APPRISE_STATEFUL_MODE
|
||||
value: disabled
|
||||
- name: APPRISE_WORKER_COUNT
|
||||
value: 1
|
||||
- name: APPRISE_STATELESS_URLS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: qbittorrent-qbit-manage-config
|
||||
key: ntfy-url
|
||||
- name: ALLOWED_HOSTS
|
||||
value: localhost
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
@@ -164,6 +197,10 @@ qbittorrent:
|
||||
port: 9022
|
||||
targetPort: 9022
|
||||
protocol: HTTP
|
||||
apprise:
|
||||
port: 8000
|
||||
targetPort: 8000
|
||||
protocol: HTTP
|
||||
persistence:
|
||||
config:
|
||||
type: persistentVolumeClaim
|
||||
|
Reference in New Issue
Block a user