forked from monlor/docker-xiaoya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmfile.yaml
165 lines (162 loc) · 4.07 KB
/
helmfile.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# 定义全局的repositories
repositories:
- name: monlor
url: https://monlor.github.io/helm-charts
releases:
- name: alist
namespace: media
chart: monlor/quickchart
version: 0.3.2
values:
- port: 5678
extraPort:
- port: 2345
protocol: TCP
- port: 2346
protocol: TCP
nodeSelector:
kubernetes.io/hostname: nuc-1-node-1
image:
repository: ghcr.io
name: monlor/xiaoya-alist
tag: latest
pullPolicy: Always
env:
TZ: Asia/Shanghai
AUTO_UPDATE_ENABLED: true
AUTO_CLEAR_ENABLED: true
WEBDAV_PASSWORD:
ALIYUN_TOKEN:
ALIYUN_OPEN_TOKEN:
ALIYUN_FOLDER_ID:
QUARK_COOKIE:
PAN115_COOKIE:
PIKPAK_USER:
volumes:
- name: data
mountPath: /data
hostPath:
path: /opt/xiaoya/data
type: DirectoryOrCreate
health:
enabled: false
strategy:
type: Recreate
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 100m
memory: 1Gi
ingress:
enabled: true
className: nginx
clusterIssuer: cloudflare
hosts:
- host: alist.monlor.cn
- host: emby.monlor.cn
port: 2345
- name: metadata
namespace: media
chart: monlor/quickchart
version: 0.3.2
values:
- nodeSelector:
kubernetes.io/hostname: nuc-1-node-1
image:
repository: ghcr.io
name: monlor/xiaoya-metadata
tag: latest
pullPolicy: Always
env:
TZ: Asia/Shanghai
# ALIST_ADDR: http://alist:5678
EMBY_ENABLED: true
JELLYFIN_ENABLED: false
AUTO_UPDATE_EMBY_CONFIG_ENABLED: true
AUTO_UPDATE_EMBY_METADATA_ENABLED: true
volumes:
- name: data
mountPath: /etc/xiaoya
hostPath:
path: /opt/xiaoya/data
type: DirectoryOrCreate
- name: media
mountPath: /media/xiaoya
hostPath:
path: /opt/xiaoya/media
type: DirectoryOrCreate
- name: config
mountPath: /media/config
hostPath:
path: /opt/xiaoya/config
type: DirectoryOrCreate
- name: meta
mountPath: /media/temp
hostPath:
path: /opt/xiaoya/temp
type: DirectoryOrCreate
health:
enabled: false
strategy:
type: Recreate
resources:
limits:
cpu: 4
memory: 8Gi
requests:
cpu: 100m
memory: 512Mi
- name: emby
namespace: media
chart: monlor/quickchart
version: 0.3.2
values:
- port: 6908
extraPort:
- port: 8080
protocol: TCP
nodeSelector:
kubernetes.io/hostname: nuc-1-node-1
image:
repository: ghcr.io
name: monlor/xiaoya-embyserver
tag: latest
pullPolicy: Always
env:
TZ: Asia/Shanghai
# ALIST_ADDR: http://alist:5678
volumes:
- name: media
mountPath: /media
hostPath:
path: /opt/xiaoya/media
type: DirectoryOrCreate
- name: config
mountPath: /config
hostPath:
path: /opt/xiaoya/config
type: DirectoryOrCreate
- name: cache
mountPath: /cache
hostPath:
path: /opt/xiaoya/config/cache
type: DirectoryOrCreate
health:
enabled: false
strategy:
type: Recreate
resources:
limits:
cpu: 4
memory: 8Gi
requests:
cpu: 500m
memory: 1Gi
# ingress:
# enabled: true
# className: nginx
# clusterIssuer: cloudflare
# hosts:
# - host: emby.monlor.cn