-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubsonic_pod.yaml
39 lines (39 loc) · 981 Bytes
/
subsonic_pod.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
kind: Pod
apiVersion: v1
metadata:
name: subsonic
labels:
name: subsonic
spec:
containers:
- name: subsonicapp
image: stanvit/subsonic
env:
- name: SUBSONIC_USERID
value: "1001"
- name: SUBSONIC_PORT
value: "8080"
- name: SUBSONIC_PLAYLIST_FOLDER
value: "/subsonic/home/playlists"
- name: SUBSONIC_MAX_MEMORY
value: "512"
ports:
- containerPort: 8080
name: "subsonic-server"
volumeMounts:
- mountPath: "/downloads"
name: downloads
- mountPath: "/multimedia"
name: multimedia
- mountPath: "/subsonic/home"
name: subsonicdata
volumes:
- name: downloads
persistentVolumeClaim:
claimName: downloads-claim
- name: multimedia
persistentVolumeClaim:
claimName: multimedia-claim
- name: subsonicdata
persistentVolumeClaim:
claimName: subsonic-data-claim