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
|
||||
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:
|
||||
name: unpackerr-envs
|
||||
data:
|
||||
|
|
|
|||
|
|
@ -21,16 +21,19 @@ spec:
|
|||
- name: gluetun
|
||||
image: ghcr.io/qdm12/gluetun
|
||||
ports:
|
||||
- name: http
|
||||
- name: qbittorrent-http
|
||||
containerPort: 8112
|
||||
protocol: TCP
|
||||
- name: slskd-http
|
||||
containerPort: 5030
|
||||
protocol: TCP
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: gluetun-envs
|
||||
volumeMounts:
|
||||
- mountPath: /dev/net/tun
|
||||
name: dev-tun
|
||||
- mountPath: "/gluetun/wireguard"
|
||||
- mountPath: /gluetun/wireguard
|
||||
name: gluetun-wgconfig
|
||||
readOnly: true
|
||||
- name: gluetun-scripts
|
||||
|
|
@ -119,6 +122,46 @@ spec:
|
|||
capabilities:
|
||||
drop:
|
||||
- "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:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
|
|
@ -127,6 +170,9 @@ spec:
|
|||
- name: qbittorrent-config
|
||||
persistentVolumeClaim:
|
||||
claimName: qbittorrent-storage
|
||||
- name: slskd-config
|
||||
persistentVolumeClaim:
|
||||
claimName: slskd-storage
|
||||
- name: gluetun-wgconfig
|
||||
secret:
|
||||
secretName: gluetun-wgconfig
|
||||
|
|
|
|||
|
|
@ -37,3 +37,5 @@ images:
|
|||
newTag: v3.41.1@sha256:1a5bf4b4820a879cdf8d93d7ef0d2d963af56670c9ebff8981860b6804ebc8ab
|
||||
- name: docker.io/qbittorrentofficial/qbittorrent-nox
|
||||
newTag: 5.1.4-2@sha256:85fe2690f418dabffc4907276b3cdffcb7880c7114157b32f932d3b97bac45af
|
||||
- name: docker.io/slskd/slskd
|
||||
newTag: 0.25.1
|
||||
|
|
|
|||
|
|
@ -10,3 +10,15 @@ spec:
|
|||
resources:
|
||||
requests:
|
||||
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
|
||||
protocol: TCP
|
||||
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