All browsing and mood management now live in the native client. Drop the embedded HTML page, the WEB_UI setting, the /ui route and the chart env entry; the server only exposes /api/v1, /health and a small root banner.
88 lines
1.7 KiB
YAML
88 lines
1.7 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
repository: gitea.tap-tap.win/taptap/audiomanager
|
|
# CI publishes :latest and :sha-<commit> for every push to main.
|
|
tag: latest
|
|
pullPolicy: Always
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
# Rendered into a ConfigMap as /etc/audiomanager/library.yaml.
|
|
# Keep folder IDs stable: they are part of song IDs.
|
|
library:
|
|
folders:
|
|
- id: 1
|
|
name: "Music"
|
|
type: music
|
|
path: /mnt/media/music
|
|
- id: 10
|
|
name: "Audiobooks & Podcasts"
|
|
type: longform
|
|
path: /mnt/media/longform
|
|
|
|
# Vault-managed users.yaml. The secret must already exist and contain the key below.
|
|
users:
|
|
existingSecret: audiomanager-users
|
|
key: users.yaml
|
|
|
|
data:
|
|
persistence:
|
|
enabled: true
|
|
size: 5Gi
|
|
storageClass: ""
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
|
|
# hostPath mounts shared by every schedulable node. Read-only in the pod.
|
|
media:
|
|
music:
|
|
hostPath: /mnt/media/music
|
|
mountPath: /mnt/media/music
|
|
longform:
|
|
hostPath: /mnt/media/longform
|
|
mountPath: /mnt/media/longform
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: traefik
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
|
host: subsonic.tap-tap.win
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
enabled: true
|
|
secretName: subsonic-tap-tap-win-tls
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 512Mi
|
|
|
|
podSecurityContext:
|
|
fsGroup: 10001
|
|
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 10001
|
|
runAsGroup: 10001
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|