Keeping up with engineering blogs, security advisories, and release notes gets messy fast. Your subscriptions end up scattered across browser bookmarks, email newsletters, and social media feeds. Running a self-hosted RSS aggregator in your HomeLab pulls everything into one quiet, chronological inbox you actually control.
Context & Why: Why Self-Host FreshRSS on Docker?
Hosted RSS services work well until you hit their limits. Feedly’s free tier caps you at 100 feeds, Inoreader limits free accounts to 150, and smaller platforms sometimes shut down overnight. Self-hosting FreshRSS removes those ceilings. It is a fast, open-source aggregator written in PHP that idles at roughly 60 MB of RAM—light enough for a $5 Linux VPS, an old mini PC, or a Raspberry Pi.
Its killer feature is built-in Google Reader API support. You are not stuck using a single web interface. Instead, FreshRSS acts as your central sync server. Pair it with native apps like NetNewsWire on macOS and iOS, ReadYou on Android, or Fluent Reader on Windows and Linux to keep unread counts, tags, and starred items in sync everywhere.
Packaging the app in Docker also saves you from host-level headaches. You skip manual PHP extension installs, Apache virtual host configs, and brittle cron permissions. When it is time to migrate servers or test an upgrade, you just copy one folder and pull a new image.
Installation: Deploying FreshRSS with Docker Compose
Make sure your Linux host has Docker and the Docker Compose plugin ready. Check both versions with a single command:
docker --version && docker compose version
Step 1: Create a Project Directory
Store your Compose file and persistent data together in one dedicated folder:
mkdir -p ~/freshrss && cd ~/freshrss
Step 2: Create the Docker Compose File
Open a new docker-compose.yml file in nano or vim. The configuration below pulls the official FreshRSS image, refreshes your feeds every 20 minutes, and mounts local directories for your database and extensions.
services:
freshrss:
image: freshrss/freshrss:latest
container_name: freshrss
restart: unless-stopped
ports:
- "8080:80"
environment:
TZ: UTC
CRON_MIN: '*/20'
volumes:
- ./data:/var/www/FreshRSS/data
- ./extensions:/var/www/FreshRSS/extensions
Before starting the stack, review these three settings:
- TZ: Swap
UTCfor your local timezone, such asAmerica/New_YorkorAsia/Ho_Chi_Minh, so article timestamps match your clock. - CRON_MIN: Setting
'*/20'fetches new articles at minutes 0, 20, and 40 of every hour. Avoid aggressive intervals like*/1so smaller blogs do not rate-limit your IP. - Ports: Change the host port on the left (for example,
8085:80) if8080is already taken on your server.
Step 3: Start the Container
Pull the image and launch FreshRSS in the background:
docker compose up -d
Verify the container status:
docker compose ps
Look for the freshrss container in the Up state.
Configuration: Initial Setup and Google Reader API Sync
Point your browser to http://<your-server-ip>:8080 to run the built-in web installer. It takes less than two minutes:
- Language: Pick your preferred language and submit.
- Checks: FreshRSS validates PHP modules and directory permissions. Every check should pass out of the box.
- Database: Choose SQLite. For a personal instance or small team, SQLite needs zero extra containers, handles 100+ feeds effortlessly, and lives in a single file inside
./data. - Default user: Create your admin username and a strong password to finish setup.
Enable the Google Reader API
External API access starts disabled for security. Turn it on in two quick steps:
- Click the gear icon in the top-right corner and open Administration > Authentication.
- Check Allow API access (required for mobile apps) and save.
- Return to the gear menu, open Account > Profile, and scroll to API management.
- Set a dedicated API password and save it. Keep this separate from your web login password.
Connect Your Mobile or Desktop RSS Client
Your server is now ready for external clients. Add a new FreshRSS or Google Reader API account in your reader app using these credentials:
- API Endpoint URL:
http://<your-server-ip>:8080/api/greader.php - Username: Your FreshRSS web username
- Password: The API password you just created
Migrating from another reader? Export your feeds as an .opml file and upload it under Subscription management > Import / Export. Your full feed list will appear on every connected device after the next sync.
Verification & Monitoring: Keeping Your RSS Aggregator Healthy
Take two minutes after setup to confirm that background refreshes and the API endpoint work properly.
Check Container Logs and Cron Execution
Tail the container logs to catch any Apache errors or permission warnings early:
docker compose logs -f --tail=50 freshrss
Press Ctrl+C to exit. To test feed fetching immediately instead of waiting for the next 20-minute cron tick, trigger a manual refresh:
docker exec -u www-data freshrss php /var/www/FreshRSS/app/actualize_script.php
The command prints each feed as it runs along with the number of new articles pulled.
Test the Google Reader API Endpoint
If a mobile client refuses to connect, test the endpoint directly from your terminal:
curl -i http://localhost:8080/api/greader.php
An HTTP 400 or 401 response is good news here. It proves the PHP API handler is reachable and rejecting unauthenticated requests, whereas a 404 Not Found points to a URL or reverse proxy mismatch.
Monitor Storage and Backups
Cached images and article bodies slowly add up over months of reading. Check your storage footprint anytime with:
du -sh ~/freshrss/data
With 100 active feeds, expect the ./data directory to stay well under 200 MB if you cap history to 100–200 articles per feed under Settings > Archiving. And before exposing FreshRSS outside your LAN, place it behind an HTTPS reverse proxy like Caddy, Nginx Proxy Manager, or Traefik so your API credentials never travel in plaintext.
