feat: Add slskd
This commit is contained in:
parent
845aea8b13
commit
a3d532de93
5 changed files with 85 additions and 2 deletions
|
|
@ -43,6 +43,17 @@ data:
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: slskd-envs
|
||||||
|
data:
|
||||||
|
TZ: Europe/Amsterdam
|
||||||
|
PUID: "1000"
|
||||||
|
PGID: "1000"
|
||||||
|
SLSKD_HEADLESS: "true"
|
||||||
|
SLSKD_REMOTE_CONFIGURATION: "true"
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: unpackerr-envs
|
name: unpackerr-envs
|
||||||
data:
|
data:
|
||||||
|
|
|
||||||
|
|
@ -21,16 +21,19 @@ spec:
|
||||||
- name: gluetun
|
- name: gluetun
|
||||||
image: ghcr.io/qdm12/gluetun
|
image: ghcr.io/qdm12/gluetun
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: qbittorrent-http
|
||||||
containerPort: 8112
|
containerPort: 8112
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- name: slskd-http
|
||||||
|
containerPort: 5030
|
||||||
|
protocol: TCP
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: gluetun-envs
|
name: gluetun-envs
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /dev/net/tun
|
- mountPath: /dev/net/tun
|
||||||
name: dev-tun
|
name: dev-tun
|
||||||
- mountPath: "/gluetun/wireguard"
|
- mountPath: /gluetun/wireguard
|
||||||
name: gluetun-wgconfig
|
name: gluetun-wgconfig
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: gluetun-scripts
|
- name: gluetun-scripts
|
||||||
|
|
@ -119,6 +122,46 @@ spec:
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- "ALL"
|
- "ALL"
|
||||||
|
- name: slskd
|
||||||
|
image: docker.io/slskd/slskd
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: slskd-envs
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config
|
||||||
|
name: slskd-config
|
||||||
|
- mountPath: /shared/media/downloads
|
||||||
|
name: nfs-media
|
||||||
|
securityContext:
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- "ALL"
|
||||||
|
- name: unpackerr
|
||||||
|
image: golift/unpackerr
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: unpackerr-envs
|
||||||
|
- secretRef:
|
||||||
|
name: unpackerr-env-secrets
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /shared/media/downloads
|
||||||
|
name: nfs-media
|
||||||
|
securityContext:
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- "ALL"
|
||||||
volumes:
|
volumes:
|
||||||
- name: dev-tun
|
- name: dev-tun
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|
@ -127,6 +170,9 @@ spec:
|
||||||
- name: qbittorrent-config
|
- name: qbittorrent-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: qbittorrent-storage
|
claimName: qbittorrent-storage
|
||||||
|
- name: slskd-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: slskd-storage
|
||||||
- name: gluetun-wgconfig
|
- name: gluetun-wgconfig
|
||||||
secret:
|
secret:
|
||||||
secretName: gluetun-wgconfig
|
secretName: gluetun-wgconfig
|
||||||
|
|
|
||||||
|
|
@ -37,3 +37,5 @@ images:
|
||||||
newTag: v3.41.1@sha256:1a5bf4b4820a879cdf8d93d7ef0d2d963af56670c9ebff8981860b6804ebc8ab
|
newTag: v3.41.1@sha256:1a5bf4b4820a879cdf8d93d7ef0d2d963af56670c9ebff8981860b6804ebc8ab
|
||||||
- name: docker.io/qbittorrentofficial/qbittorrent-nox
|
- name: docker.io/qbittorrentofficial/qbittorrent-nox
|
||||||
newTag: 5.1.4-2@sha256:85fe2690f418dabffc4907276b3cdffcb7880c7114157b32f932d3b97bac45af
|
newTag: 5.1.4-2@sha256:85fe2690f418dabffc4907276b3cdffcb7880c7114157b32f932d3b97bac45af
|
||||||
|
- name: docker.io/slskd/slskd
|
||||||
|
newTag: 0.25.1
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,15 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 5Gi
|
storage: 5Gi
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: slskd-storage
|
||||||
|
spec:
|
||||||
|
storageClassName: piraeus-lvmthin
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,15 @@ spec:
|
||||||
- port: 80
|
- port: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8112
|
targetPort: 8112
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: slskd
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: slskd
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 8112
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue