App template
Miniflux
A feed reader, with PostgreSQL.
- Memory when idle
- about 70 MiB
- CI measures it once the app is ready and before any traffic. Leave room for more.
- Tested on
- x86 servers
Introduction
Miniflux is a minimal feed reader. It fetches your RSS and Atom feeds and shows the new articles in one place.
This template runs one Miniflux behind your domain, with its own PostgreSQL database. An administrator account named admin is created at the first start.
Values you provide
You don’t fill in anything when you deploy.
Made for you
These values are generated at deploy and kept in a Kubernetes Secret, shown as Secret/key.
- miniflux-secrets/admin-password
Getting started
-
In Zeabur OSS, open the
minifluxservice. When Overview shows its replica as ready, the service is up. Its domain is on the Networking tab under Public domains. It is the domain you entered in the install form, for exampleminiflux.example.com. -
Sign in as
admin. Get the password from theminifluxservice: open Variables, clickminiflux-secretsunder From config files and secrets, and click the eye icon next toadmin-password. Without Zeabur OSS, read Secretminiflux-secrets, keyadmin-password, with kubectl:kubectl -n <namespace> get secret miniflux-secrets -o jsonpath='{.data.admin-password}' | base64 -d -
Add your first feed.
-
Change the password in Miniflux if you like. Miniflux reads the Secret only when it creates the account, so a later change to the Secret does not change the password.
Configuration
Create an API key
Go to Settings, then API Keys, then Create a new API key. Send the key in the X-Auth-Token header:
curl -H "X-Auth-Token: <key>" https://miniflux.example.com/v1/me
See API in the Miniflux docs.
Use a reader app
Many reader apps can connect to Miniflux through the Google Reader API or the Fever API. In Miniflux, open Settings, then Integrations, and choose a user name and password for the API. Use that user name and password in the app. See Google Reader API and Fever API in the Miniflux docs for the apps that work.
Back up the data
Miniflux keeps feeds, articles and settings in the miniflux-db database. It keeps nothing on a volume. In the project, open the miniflux-db database. Under Backups, set up S3 backups. To get a file instead, click More → Export. See Create, back up, and restore databases and Download a database dump in the Zeabur OSS docs.
Troubleshooting
The page shows 502 or does not load
Open the miniflux service in Zeabur OSS. Check that Overview shows its replica as ready, then read the Logs tab. If the replica is not ready, open Deployments and switch to Events. If Events show OOMKilled, the service ran out of memory. Raise Maximum memory under Settings → Compute. If the domain or the certificate stays pending, see Troubleshooting on the domains page.
See Adjust replicas, resources, and health checks and View logs, events, and usage, and open a terminal in the Zeabur OSS docs.
A feed on a private address is refused
Miniflux refuses to fetch from private and loopback network addresses by default, and the template does not change this. Use a feed address that is reachable from the public internet. See FETCHER_ALLOW_PRIVATE_NETWORKS in Configuration parameters.
A feed does not refresh when you ask
Miniflux allows a manual refresh only once every 30 minutes by default (FORCE_REFRESH_INTERVAL). It also refreshes feeds in the background on its own schedule. See Configuration parameters.
Resources
Each service is guaranteed the first amount and can use up to the second.
miniflux
Ports
8080
CPU
0.05 cores to 1 core
Memory
64 MiB to 512 MiB
miniflux-db
Ports
5432
CPU
0.1 cores to 1 core
Memory
256 MiB to 1 GiB
Technical details
This release
- Version
- 2.3.5
- Licence
- Apache-2.0 AND PostgreSQL
- Homepage
- miniflux.app
- Source file
- templates/miniflux/template.yaml @ v0.6.3
Tested in CI
CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.
| Distribution | Platform | Kubernetes | Passed | Idle memory |
|---|---|---|---|---|
| kind | linux/amd64 | v1.37.0 | 72 MiB |
Security
The container runs as UID 65534 with a read-only filesystem, no Kubernetes token and all extra system privileges removed. Outbound traffic is not limited. After installation, only the admin user exists.
Known risks
Risk
The server fetches feeds from addresses that users choose.
How it is handled
Miniflux refuses private network addresses by default. The template does not limit outbound traffic. To limit it, add an egress NetworkPolicy (a rule that limits outbound traffic).
Risk
The database pods (CloudNativePG) call the Kubernetes API with an identity that the database operator creates.
How it is handled
The cloudnative-pg component creates separate permissions for each database cluster. The Miniflux Pod has no token.
What the cluster needs
Zeabur OSS suggests the components a cluster is missing. Without it, install them first.