apiVersion: v1
kind: Pod
metadata:
name: freshrss
labels:
app: freshrss
spec:
restartPolicy: Always
containers:
- name: freshrss
image: docker.io/freshrss/freshrss:latest
ports:
- hostPort: 8080
containerPort: 80
env:
- name: TZ
value: Europe/Vienna
- name: CRON_MIN
value: '*/15'
- name: DB_HOST
value: 127.0.0.1
- name: DB_PORT
value: '5432'
- name: DB_NAME
value: freshrss
- name: DB_USER
value: freshrss
- name: DB_PASSWORD
value: changeme
volumeMounts:
- name: vol-0
mountPath: /var/www/FreshRSS/data
- name: vol-1
mountPath: /var/www/FreshRSS/extensions
securityContext:
runAsUser: ''
runAsGroup: ''
- name: postgres
image: docker.io/postgres:16-alpine
env:
- name: POSTGRES_USER
value: freshrss
- name: POSTGRES_PASSWORD
value: changeme
- name: POSTGRES_DB
value: freshrss
volumeMounts:
- name: vol-2
mountPath: /var/lib/postgresql/data
volumes:
- name: vol-0
hostPath:
path: ~/freshrss/data
type: Directory
- name: vol-1
hostPath:
path: ~/freshrss/extensions
type: Directory
- name: vol-2
hostPath:
path: ~/freshrss/postgres
type: Directory
Log in to leave a comment.
Login
No comments yet. Be the first!