2026-10-11 21:03:33 +02:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: freshrss
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
strategy:
|
|
|
|
|
type: Recreate
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: freshrss
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: freshrss
|
|
|
|
|
spec:
|
2026-10-11 21:37:30 +02:00
|
|
|
# No <SERVICE>_PORT=tcp://... env vars: apps like Paperless read
|
|
|
|
|
# PAPERLESS_PORT as their own setting and crash.
|
|
|
|
|
enableServiceLinks: false
|
2026-10-11 21:03:33 +02:00
|
|
|
containers:
|
|
|
|
|
- name: freshrss
|
|
|
|
|
image: freshrss/freshrss:1.30.1
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: 80
|
|
|
|
|
env:
|
|
|
|
|
- name: TZ
|
|
|
|
|
value: Europe/Paris
|
|
|
|
|
# Refresh feeds every 20 min (built-in cron).
|
|
|
|
|
- name: CRON_MIN
|
|
|
|
|
value: "*/20"
|
|
|
|
|
- name: TRUSTED_PROXY
|
|
|
|
|
value: 10.42.0.0/16
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: data
|
|
|
|
|
mountPath: /var/www/FreshRSS/data
|
|
|
|
|
subPath: data
|
|
|
|
|
- name: data
|
|
|
|
|
mountPath: /var/www/FreshRSS/extensions
|
|
|
|
|
subPath: extensions
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: 20m
|
|
|
|
|
memory: 64Mi
|
|
|
|
|
limits:
|
|
|
|
|
memory: 256Mi
|
|
|
|
|
volumes:
|
|
|
|
|
- name: data
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: freshrss-data
|