mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
qbittorrent
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: deluge
|
||||
name: qbittorrent
|
||||
namespace: media
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: deluge
|
||||
app: qbittorrent
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: deluge
|
||||
app: qbittorrent
|
||||
spec:
|
||||
containers:
|
||||
- name: deluge
|
||||
image: lscr.io/linuxserver/deluge:latest
|
||||
- name: qbittorrent
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: deluge-config
|
||||
name: qbittorrent-config
|
||||
optional: false
|
||||
ports:
|
||||
- containerPort: 8112
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 6881
|
||||
@@ -29,11 +29,8 @@ spec:
|
||||
- containerPort: 6881
|
||||
name: tcp
|
||||
protocol: TCP
|
||||
- containerPort: 58846
|
||||
name: thinclient
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: deluge-config
|
||||
- name: qbittorrent-config
|
||||
mountPath: /config
|
||||
- mountPath: /data/downloads
|
||||
name: data
|
||||
@@ -78,9 +75,9 @@ spec:
|
||||
- mountPath: /data
|
||||
name: data
|
||||
volumes:
|
||||
- name: deluge-config
|
||||
- name: qbittorrent-config
|
||||
persistentVolumeClaim:
|
||||
claimName: deluge-config
|
||||
claimName: qbittorrent-config
|
||||
- name: wireguard-config
|
||||
persistentVolumeClaim:
|
||||
claimName: wireguard-config
|
||||
@@ -1,11 +1,11 @@
|
||||
apiVersion: externaldns.k8s.io/v1alpha1
|
||||
kind: DNSEndpoint
|
||||
metadata:
|
||||
name: deluge.michaelthomson.dev
|
||||
name: qbittorrent.michaelthomson.dev
|
||||
namespace: media
|
||||
spec:
|
||||
endpoints:
|
||||
- dnsName: deluge.michaelthomson.dev
|
||||
- dnsName: qbittorrent.michaelthomson.dev
|
||||
recordTTL: 180
|
||||
recordType: CNAME
|
||||
targets:
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: deluge
|
||||
name: qbittorrent
|
||||
namespace: media
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
@@ -9,17 +9,17 @@ metadata:
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
spec:
|
||||
rules:
|
||||
- host: deluge.michaelthomson.dev
|
||||
- host: qbittorrent.michaelthomson.dev
|
||||
http:
|
||||
paths:
|
||||
- pathType: ImplementationSpecific
|
||||
path: /
|
||||
backend:
|
||||
service:
|
||||
name: deluge
|
||||
name: qbittorrent
|
||||
port:
|
||||
name: http
|
||||
tls:
|
||||
- hosts:
|
||||
- deluge.michaelthomson.dev
|
||||
- qbittorrent.michaelthomson.dev
|
||||
secretName: letsencrypt-wildcard-cert-michaelthomson.dev
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: deluge-config
|
||||
name: qbittorrent-config
|
||||
namespace: media
|
||||
spec:
|
||||
resources:
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: deluge-config
|
||||
name: qbittorrent-config
|
||||
namespace: media
|
||||
data:
|
||||
PUID: "1000"
|
||||
@@ -1,11 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: deluge
|
||||
name: qbittorrent
|
||||
namespace: media
|
||||
spec:
|
||||
selector:
|
||||
app: deluge
|
||||
app: qbittorrent
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: http
|
||||
Reference in New Issue
Block a user