FreshRSS
FreshRSS adalah agregator umpan web? sumber terbuka.
Pemasangan
Panduan berikut mengasumsikan Anda menggunakan Podman dan Quadlet?. Untuk memasang FreshRSS secara manual, silakan ikuti petunjuk di sini.
Podman Quadlet
Buat direktori untuk menempatkan file quadlet: mkdir -p ~/.config/containers/systemd/
. Kemudian buat file freshrss-app.container
dan freshrss-db.container
di dalam direktori tersebut:
~/.config/containers/systemd/freshrss-app.continer
[Container]
ContainerName=freshrss-app
Environment=TZ=Etc/UTC
Image=lscr.io/linuxserver/freshrss:latest
PodmanArgs=--pod freshrss
SeccompProfile=unconfined
Volume=/home/freshrss/app:/config:Z
[Install]
WantedBy=default.target
~/.config/containers/systemd/freshrss-db.container
[Container] ContainerName=freshrss-db Environment=MARIADB_USER=freshrss_user MARIADB_PASSWORD= MARIADB_DATABASE=freshrss MARIADB_ROOT_PASSWORD= Image=mariadb:latest PodmanArgs=--pod new:freshrss PublishPort=8000:80 SeccompProfile=unconfined Volume=/home/freshrss/db:/var/lib/mysql:Z [Install] WantedBy=default.target
Jangan lupa untuk mengganti mengisi //environment variable// di `freshrss-db.container`. Mengingat systemd pengguna (bukan sistem) akan berhenti ketika pengguna tersebut logout, maka jalankan perintah berikut:
loginctl enable-linger username
Ganti username
menjadi username pengguna yang menjalankan kontainer freshhrss.
Kubernets YAML
# Save the output of this file and use kubectl create -f to import
# it into Kubernetes.
#
# Created with podman-4.9.0
apiVersion: v1
kind: Pod
metadata:
annotations:
bind-mount-options: /home/freshrss/app:Z
creationTimestamp: "2024-02-02T15:54:50Z"
labels:
app: freshrss
name: freshrss
spec:
containers:
- args:
- mariadbd
env:
- name: MARIADB_DATABASE
value: freshrss
- name: MARIADB_ROOT_PASSWORD
value:
- name: MARIADB_USER
value: freshrss_user
- name: MARIADB_PASSWORD
value:
image: docker.io/library/mariadb:latest
name: freshrss-db
ports:
- containerPort: 80
hostPort: 8000
volumeMounts:
- mountPath: /var/lib/mysql
name: home-freshrss-db-host-0
- env:
- name: TZ
value: Etc/UTC
image: lscr.io/linuxserver/freshrss:latest
name: freshrss-app
volumeMounts:
- mountPath: /config
name: home-freshrss-app-host-0
volumes:
- hostPath:
path: /home/freshrss/db
type: Directory
name: home-freshrss-db-host-0
- hostPath:
path: /home/freshrss/app
type: Directory
name: home-freshrss-app-host-0