Skip to content

Commit

Permalink
fix: 🐛 元数据检查路径错误
Browse files Browse the repository at this point in the history
  • Loading branch information
monlor committed May 30, 2024
1 parent bc5dfa0 commit 1642738
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 39 deletions.
2 changes: 1 addition & 1 deletion emby/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ while ! wget -q -T 1 -O /dev/null http://${ALIST_DOMAIN} &> /dev/null; do
done

echo "等待元数据下载完成..."
while test ! -f /media/config/emby_meta_finished; do
while test ! -f /config/emby_meta_finished; do
sleep 2
done

Expand Down
68 changes: 31 additions & 37 deletions helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ releases:
version: 0.2.4
values:
- port: 80
global:
storageClassName: longhorn-single
nodeSelector:
kubernetes.io/hostname: nuc-1-node-1
image:
repository: ghcr.io
name: monlor/xiaoya-alist
tag: latest
pullPolicy: Always
env:
TZ: Asia/Shanghai
ALIYUN_TOKEN:
Expand All @@ -28,10 +27,9 @@ releases:
volumes:
- name: data
mountPath: /data
persistentVolume:
create: true
accessModes: ReadWriteMany
storageSize: 256Mi
hostPath:
path: /opt/xiaoya/data
type: DirectoryOrCreate
strategy:
type: Recreate
resources:
Expand All @@ -53,43 +51,39 @@ releases:
chart: monlor/quickchart
version: 0.2.4
values:
- global:
storageClassName: longhorn-single
nodeSelector:
- nodeSelector:
kubernetes.io/hostname: nuc-1-node-1
image:
repository: ghcr.io
name: monlor/xiaoya-glue
tag: latest
pullPolicy: Always
env:
TZ: Asia/Shanghai
ALIST_ADDR: http://alist:80
EMBY_ENABLED: true
JELLYFIN_ENABLED: false
AUTO_UPDATE_EMBY_CONFIG_ENABLED: true
volumes:
- name: alist-data
- name: data
mountPath: /etc/xiaoya
persistentVolume:
accessModes: ReadWriteMany
hostPath:
path: /opt/xiaoya/data
type: DirectoryOrCreate
- name: media
mountPath: /media/xiaoya
persistentVolume:
create: true
accessModes: ReadWriteMany
storageSize: 200Gi
hostPath:
path: /opt/xiaoya/media
type: DirectoryOrCreate
- name: config
mountPath: /media/config
persistentVolume:
create: true
accessModes: ReadWriteMany
storageSize: 200Gi
hostPath:
path: /opt/xiaoya/config
type: DirectoryOrCreate
- name: meta
mountPath: /media/temp
persistentVolume:
create: true
accessModes: ReadWriteOnce
storageSize: 200Gi
hostPath:
path: /opt/xiaoya/temp
type: DirectoryOrCreate
strategy:
type: Recreate
resources:
Expand All @@ -106,33 +100,33 @@ releases:
version: 0.2.4
values:
- port: 8096
global:
storageClassName: longhorn-single
nodeSelector:
kubernetes.io/hostname: nuc-1-node-1
image:
repository: ghcr.io
name: monlor/xiaoya-emby
tag: latest
pullPolicy: Always
env:
TZ: Asia/Shanghai
GIDLIST: 0,0
ALIST_DOMAIN: alist
volumes:
- name: glue-media
- name: media
mountPath: /media
persistentVolume:
accessModes: ReadWriteMany
- name: glue-config
hostPath:
path: /opt/xiaoya/media
type: DirectoryOrCreate
- name: config
mountPath: /config
persistentVolume:
accessModes: ReadWriteMany
hostPath:
path: /opt/xiaoya/config
type: DirectoryOrCreate
- name: cache
mountPath: /cache
persistentVolume:
create: true
accessModes: ReadWriteOnce
storageSize: 10Gi
hostPath:
path: /opt/xiaoya/config/cache
type: DirectoryOrCreate
- name: dri
mountPath: /dev/dri
hostPath:
Expand Down
2 changes: 1 addition & 1 deletion jellyfin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ while ! curl -s -f -m 1 http://${ALIST_DOMAIN} &> /dev/null; do
done

echo "等待元数据下载完成..."
while test ! -f /media/config/jellyfin_meta_finished; do
while test ! -f /config/jellyfin_meta_finished; do
sleep 2
done

Expand Down

0 comments on commit 1642738

Please sign in to comment.