42 lines
998 B
YAML
42 lines
998 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: dispatcharr
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: dispatcharr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: dispatcharr
|
|
annotations:
|
|
backup.velero.io/backup-volumes: data
|
|
spec:
|
|
containers:
|
|
- name: dispatcharr
|
|
image: ghcr.io/dispatcharr/dispatcharr:0.8.0-amd64
|
|
env:
|
|
- name: DISPATCHARR_ENV
|
|
value: aio
|
|
- name: REDIS_HOST
|
|
value: localhost
|
|
- name: CELERY_BROKER_URL
|
|
value: redis://localhost:6379/0
|
|
- name: DISPATCHARR_LOG_LEVEL
|
|
value: info
|
|
volumeMounts:
|
|
- name: dispatcharr-data
|
|
mountPath: /data
|
|
resources:
|
|
limits:
|
|
memory: "3Gi"
|
|
cpu: "1"
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "500m"
|
|
volumes:
|
|
- name: dispatcharr-data
|
|
persistentVolumeClaim:
|
|
claimName: dispatcharr
|