Files
homelab/k8s/apps/furumi-dev/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:
name: furumi-dev-player
labels:
app: furumi-dev-player
spec:
replicas: 1
selector:
matchLabels:
app: furumi-dev-player
template:
metadata:
labels:
app: furumi-dev-player
spec:
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
containers:
- name: furumi-dev-player
image: ultradesu/furumusic:latest
imagePullPolicy: Always
env:
- name: FURU_DATABASE_URL
valueFrom:
secretKeyRef:
name: furumi-dev-creds
key: PG_STRING
ports:
- containerPort: 8000
name: http
volumeMounts:
- name: library
mountPath: /media
- name: inbox
mountPath: /inbox
volumes:
- name: library
hostPath:
path: /k8s/furumi-dev/library-new
type: DirectoryOrCreate
- name: inbox
hostPath:
path: /k8s/furumi-dev/inbox-new
type: DirectoryOrCreate