This PR contains the following updates: | Package | Update | Change | |---|---|---| | [caronc/apprise](https://github.com/caronc/apprise-api) | minor | `1.2.6` -> `1.3.0` | --- ### Release Notes <details> <summary>caronc/apprise-api (caronc/apprise)</summary> ### [`v1.3.0`](https://github.com/caronc/apprise-api/releases/tag/v1.3.0): Apprise API Release v1.3.0 [Compare Source](https://github.com/caronc/apprise-api/compare/v1.2.6...v1.3.0) ##### Overview This is a signifigant release that refactors almost the entire website giving it a much more polished/improved look. - Improved instructional text and layout in the configuration template. - Minor template clean-up and formatting alignment for the help content. - Updated the configuration list view to support API based calls so it can return JSON when requested, instead of always rendering the template. - This enables programmatic consumption of configuration IDs/keys. - The API version is now exposed in headers in addition to the Apprise library version, reducing confusion about the relationship between the two packages. - `/cfg/<key>` now accepts `POST` in addition to the previous retrieval approach acting exactly how `/get/<key>` POST works. `/get/` would return the users configuration when it was posted to. It makes sense to use `/cfg/<key>` as well for users who copy/paste URL's from their Apprise API instance directly (from the browser URL). Basically `/cfg/<key>` is now an alias of `/get/<key>` - `/get/<key>` remains supported for backwards compatibility. No plans on removing this either. - Expanded `swagger.yaml` substantially to better document the service. - Added a dedicated `docker-compose.swagger.yml` to launch Swagger UI pointing at the repository `swagger.yaml` without altering Apprise-API runtime. ```bash docker compose -f docker-compose.swagger.yml up -d # Browse: # http://localhost:8001 ``` - improvements to README.md - heath checks are now live when viewing the website - heavy changes to workflow: - development environment is now just `tox -e runserver` - improvements to linting and formatting ##### 💡 Features - Support HTTP\_PORT as Docker environment variable by [@​caronc](https://github.com/caronc) in [#​280](https://github.com/caronc/apprise-api/pull/280) - Massive Application Refactor by [@​caronc](https://github.com/caronc) in [#​283](https://github.com/caronc/apprise-api/pull/283) ##### ❤️ Life Cycle - Bump actions/checkout from 5 to 6 in the actions group by [@​dependabot](https://github.com/dependabot)\[bot] in [#​281](https://github.com/caronc/apprise-api/pull/281) **Full Changelog**: <https://github.com/caronc/apprise-api/compare/v1.2.6...v.1.3.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zOS4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW1hZ2UiXX0=--> Reviewed-on: #2511 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
350 lines
9.5 KiB
YAML
350 lines
9.5 KiB
YAML
qbittorrent:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
initContainers:
|
|
init-sysctl:
|
|
image:
|
|
repository: busybox
|
|
tag: 1.37.0
|
|
pullPolicy: IfNotPresent
|
|
securityContext:
|
|
privileged: True
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
command:
|
|
- /bin/sh
|
|
args:
|
|
- -ec
|
|
- |
|
|
sysctl -w net.ipv4.ip_forward=1;
|
|
sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
|
containers:
|
|
qbittorrent:
|
|
image:
|
|
repository: ghcr.io/linuxserver/qbittorrent
|
|
tag: 5.1.4@sha256:043498de39c3dd63eec94360c5ad966a51271d1581070f42cb73ab0cf4776f29
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: UMASK_SET
|
|
value: "002"
|
|
- name: WEBUI_PORT
|
|
value: 8080
|
|
- name: DOCKER_MODS
|
|
value: ghcr.io/themepark-dev/theme.park:qbittorrent
|
|
- name: TP_COMMUNITY_THEME
|
|
value: true
|
|
- name: TP_THEME
|
|
value: catppuccin-mocha
|
|
resources:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
gluetun:
|
|
image:
|
|
repository: ghcr.io/qdm12/gluetun
|
|
tag: v3.40.3@sha256:ef4a44819a60469682c7b5e69183e6401171891feaa60186652d292c59e41b30
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: VPN_SERVICE_PROVIDER
|
|
value: protonvpn
|
|
- name: VPN_TYPE
|
|
value: wireguard
|
|
- name: WIREGUARD_PRIVATE_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: qbittorrent-wireguard-conf
|
|
key: private-key
|
|
- name: VPN_PORT_FORWARDING
|
|
value: "on"
|
|
- name: VPN_PORT_FORWARDING_UP_COMMAND
|
|
value: '/bin/sh -c "/gluetun/update.sh {{ printf "{{PORTS}}" }}"'
|
|
- name: PORT_FORWARD_ONLY
|
|
value: "on"
|
|
- name: FIREWALL_OUTBOUND_SUBNETS
|
|
value: 192.168.1.0/24,10.244.0.0/16
|
|
- name: FIREWALL_INPUT_PORTS
|
|
value: 8080,9022
|
|
- name: DOT
|
|
value: "off"
|
|
securityContext:
|
|
privileged: True
|
|
capabilities:
|
|
add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
resources:
|
|
limits:
|
|
devic.es/tun: "1"
|
|
requests:
|
|
devic.es/tun: "1"
|
|
cpu: 10m
|
|
memory: 64Mi
|
|
exporter:
|
|
image:
|
|
repository: esanchezm/prometheus-qbittorrent-exporter
|
|
tag: v1.6.0
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: QBITTORRENT_HOST
|
|
value: localhost
|
|
- name: QBITTORRENT_PORT
|
|
value: "8080"
|
|
- name: EXPORTER_PORT
|
|
value: "9022"
|
|
- name: EXPORTER_LOG_LEVEL
|
|
value: INFO
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 64Mi
|
|
qbit-manage:
|
|
type: deployment
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
initContainers:
|
|
init-copy-config:
|
|
image:
|
|
repository: busybox
|
|
tag: 1.37.0
|
|
pullPolicy: IfNotPresent
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
command:
|
|
- /bin/sh
|
|
- -ec
|
|
- |
|
|
cp /config/config.yml /app/config/config.yml
|
|
containers:
|
|
qbit-manage:
|
|
image:
|
|
repository: ghcr.io/stuffanthings/qbit_manage
|
|
tag: v4.6.5
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
- name: QBT_SCHEDULE
|
|
value: 0 * * * *
|
|
- name: QBT_STARTUP_DELAY
|
|
value: 360
|
|
- name: QBT_CONFIG_DIR
|
|
value: /app/config/
|
|
- name: QBT_LOGFILE
|
|
value: /app/var/activity.log
|
|
- name: QBT_LOG_LEVEL
|
|
value: INFO
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 64Mi
|
|
apprise-api:
|
|
image:
|
|
repository: caronc/apprise
|
|
tag: 1.3.0
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: PUID
|
|
value: "1000"
|
|
- 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
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
qui:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
qui:
|
|
image:
|
|
repository: ghcr.io/autobrr/qui
|
|
tag: v1.9.1
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: QUI__METRICS_ENABLED
|
|
value: true
|
|
- name: QUI__METRICS_HOST
|
|
value: 0.0.0.0
|
|
- name: QUI__METRICS_PORT
|
|
value: 9074
|
|
- name: QUI__OIDC_ENABLED
|
|
value: true
|
|
- name: QUI__OIDC_ISSUER
|
|
value: https://auth.alexlebens.dev/application/o/qui/
|
|
- name: QUI__OIDC_CLIENT_ID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: qui-oidc-secret
|
|
key: client
|
|
- name: QUI__OIDC_CLIENT_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: qui-oidc-secret
|
|
key: secret
|
|
- name: QUI__OIDC_REDIRECT_URL
|
|
value: https://qui.alexlebens.net/api/auth/oidc/callback
|
|
- name: QUI__OIDC_DISABLE_BUILT_IN_LOGIN
|
|
value: false
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
service:
|
|
main:
|
|
controller: main
|
|
forceRename: qbittorrent
|
|
ports:
|
|
http:
|
|
port: 8080
|
|
targetPort: 8080
|
|
protocol: HTTP
|
|
health:
|
|
port: 9999
|
|
targetPort: 9999
|
|
protocol: HTTP
|
|
metrics:
|
|
port: 9022
|
|
targetPort: 9022
|
|
protocol: HTTP
|
|
qbit-manage:
|
|
controller: qbit-manage
|
|
ports:
|
|
apprise:
|
|
port: 8000
|
|
targetPort: 8000
|
|
protocol: HTTP
|
|
qui:
|
|
controller: qui
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 7476
|
|
protocol: HTTP
|
|
metrics:
|
|
port: 9074
|
|
targetPort: 9074
|
|
protocol: HTTP
|
|
persistence:
|
|
config:
|
|
type: persistentVolumeClaim
|
|
existingClaim: qbittorrent-config
|
|
advancedMounts:
|
|
main:
|
|
qbittorrent:
|
|
- path: /config
|
|
readOnly: false
|
|
qbit-manage:
|
|
qbit-manage:
|
|
- path: /qbittorrent
|
|
readOnly: false
|
|
theme-data:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
qbittorrent:
|
|
- path: /themepark
|
|
readOnly: false
|
|
update-script:
|
|
enabled: true
|
|
type: configMap
|
|
name: glutun-update-script
|
|
defaultMode: 0755
|
|
advancedMounts:
|
|
main:
|
|
gluetun:
|
|
- path: /gluetun/update.sh
|
|
subPath: update.sh
|
|
qbit-manage-config-data:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
retain: true
|
|
advancedMounts:
|
|
qbit-manage:
|
|
init-copy-config:
|
|
- path: /app/config
|
|
readOnly: false
|
|
qbit-manage:
|
|
- path: /app/config
|
|
readOnly: false
|
|
qbit-manage-config:
|
|
enabled: true
|
|
type: configMap
|
|
name: qbit-manage-config
|
|
advancedMounts:
|
|
qbit-manage:
|
|
init-copy-config:
|
|
- path: /config/config.yml
|
|
readOnly: true
|
|
mountPropagation: None
|
|
subPath: config.yml
|
|
qbit-manage:
|
|
- path: /config/config.yml
|
|
readOnly: true
|
|
mountPropagation: None
|
|
subPath: config.yml
|
|
qbit-manage-config-var:
|
|
type: emptyDir
|
|
advancedMounts:
|
|
qbit-manage:
|
|
qbit-manage:
|
|
- path: /app/var
|
|
readOnly: false
|
|
qui-config-data:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
retain: true
|
|
advancedMounts:
|
|
qui:
|
|
qui:
|
|
- path: /config
|
|
readOnly: false
|
|
storage:
|
|
type: persistentVolumeClaim
|
|
existingClaim: qbittorrent-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
qbittorrent:
|
|
- path: /mnt/store
|
|
readOnly: false
|
|
qbit-manage:
|
|
qbit-manage:
|
|
- path: /mnt/store
|
|
readOnly: false
|