Files
homelab/k8s/apps/furumi/deployment.yaml
T

47 lines
1.1 KiB
YAML
Raw Normal View History

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