apiVersion: apps/v1 kind: Deployment metadata: name: furumi-player labels: app: furumi-player spec: replicas: 1 selector: matchLabels: app: furumi-player template: metadata: labels: app: furumi-player spec: nodeSelector: kubernetes.io/hostname: music.tail2fe2d.ts.net containers: - name: furumi-player image: ultradesu/furumusic:latest imagePullPolicy: Always env: - name: FURU_DATABASE_URL valueFrom: secretKeyRef: name: furumi-creds key: PG_STRING ports: - containerPort: 8000 name: http volumeMounts: - name: library mountPath: /media - name: inbox mountPath: /inbox volumes: - name: library hostPath: path: /data/furumi/library type: DirectoryOrCreate - name: inbox hostPath: path: /data/furumi/inbox type: DirectoryOrCreate