mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
improve docs & mount logic
This commit is contained in:
parent
4cb1c43f65
commit
492631034f
@ -48,7 +48,7 @@ spec:
|
||||
{{- end }}
|
||||
env:
|
||||
- name: SCANNER_LIBRARY_ROOT
|
||||
value: /data
|
||||
value: {{ .Values.media.baseMountPath | quote }}
|
||||
- name: LIBRARY_IGNORE_PATTERN
|
||||
value: {{ .Values.kyoo.libraryIgnorePattern | quote }}
|
||||
- name: KYOO_APIKEYS
|
||||
|
@ -58,7 +58,7 @@ spec:
|
||||
- name: GOCODER_PREFIX
|
||||
value: "/video"
|
||||
- name: GOCODER_SAFE_PATH
|
||||
value: "/data"
|
||||
value: {{ .Values.media.baseMountPath | quote }}
|
||||
- name: POSTGRES_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
@ -97,11 +97,17 @@ global:
|
||||
passwordKey: rabbitmq_password
|
||||
existingSecret: bigsecret
|
||||
|
||||
# kyoo application settings
|
||||
kyoo:
|
||||
# The url you can use to reach your kyoo instance. This is used during oidc to redirect users to your instance.
|
||||
address: "https://kyoo.mydomain.com"
|
||||
# If this is true, new accounts wont have any permissions before you approve them in your admin dashboard.
|
||||
requireAccountVerification: true
|
||||
# Specify permissions of new accounts.
|
||||
defaultPermissions: "overall.read,overall.play"
|
||||
# Specify permissions of guest accounts, default is no permissions.
|
||||
unloggedPermissions: ""
|
||||
# A pattern (regex) to ignore video files.
|
||||
libraryIgnorePattern: ".*/[dD]ownloads?/.*"
|
||||
languages: "en"
|
||||
# hardware acceleration profile (valid values: disabled, vaapi, qsv, nvidia)
|
||||
@ -125,16 +131,21 @@ kyoo:
|
||||
scope: "email openid profile"
|
||||
authMethod: ClientSecretBasic
|
||||
|
||||
# configures workloads that need to access media resources
|
||||
media:
|
||||
# specifies the volumes to use
|
||||
volumes:
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: media
|
||||
# mounts should always be mounted to /data
|
||||
# specifies where to mount the volumes
|
||||
# note that this should align with .media.baseMountPath
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: media
|
||||
subPath: media
|
||||
# configures kyoo workloads to search
|
||||
# note that this should align with .media.volumeMounts[].mountPath
|
||||
baseMountPath: "/data"
|
||||
|
||||
contentdatabase:
|
||||
# TheMovieDB
|
||||
|
Loading…
x
Reference in New Issue
Block a user