91bfc42989
Scaled to replicas: 0: fornax (coordinator/ui/workers), jellyfin via media, overseerr, plex, radarr, sonarr, bazarr, prowlarr, flaresolverr, ollama, harmonic-wordpress, docuseal, listmonk, memos, plane, redpanda, wp-coordinator
83 lines
2.0 KiB
YAML
83 lines
2.0 KiB
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: listmonk
|
|
namespace: listmonk
|
|
spec:
|
|
replicas: 0
|
|
selector:
|
|
matchLabels:
|
|
app: listmonk
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: listmonk
|
|
spec:
|
|
containers:
|
|
- name: listmonk
|
|
image: listmonk/listmonk:v4.1.0
|
|
ports:
|
|
- containerPort: 9000
|
|
env:
|
|
- name: LISTMONK_db__host
|
|
value: "postgres-postgresql.platform.svc.cluster.local"
|
|
- name: LISTMONK_db__port
|
|
value: "5432"
|
|
- name: LISTMONK_db__name
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: listmonk-secrets
|
|
key: db_name
|
|
- name: LISTMONK_db__user
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: listmonk-secrets
|
|
key: db_user
|
|
- name: LISTMONK_db__password
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: listmonk-secrets
|
|
key: db_password
|
|
- name: LISTMONK_db__ssl_mode
|
|
value: "disable"
|
|
- name: LISTMONK_app__secret_key
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: listmonk-secrets
|
|
key: app_key
|
|
- name: LISTMONK_app__address
|
|
value: "0.0.0.0:9000"
|
|
volumeMounts:
|
|
- name: uploads
|
|
mountPath: /listmonk/uploads
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 9000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
volumes:
|
|
- name: uploads
|
|
persistentVolumeClaim:
|
|
claimName: listmonk-uploads
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: listmonk
|
|
namespace: listmonk
|
|
spec:
|
|
selector:
|
|
app: listmonk
|
|
ports:
|
|
- port: 9000
|
|
targetPort: 9000
|