FreshRSS and Tailscale docker-compose

To set up FreshRSS and Tailscale using Docker Compose, follow these detailed steps. This guide will help you deploy FreshRSS for RSS feed aggregation and Tailscale for secure access.

Setting Up FreshRSS with Docker Compose.

Prerequisites

  • Ensure you have Docker and Docker Compose installed on your system.
  • Have Portainer or any docker manager installed.

Create a Docker Compose File for FreshRSS

  1. Create a directory for your FreshRSS setup:
    mkdir ~/freshrss-tailscale && cd ~/freshrss-tailscale
    mkdir ~/freshrss-tailscale/state
    mkdir ~/freshrss-tailscale/config
    
  2. Create a docker-compose.yml file with the following content:
services:
		ts-freshrss:
			image: tailscale/tailscale:latest
			container\_name: ts-freshrss
			hostname: freshrss
			environment:
				- TS\_AUTHKEY=tskey-client-YOURAUTHKEYGOESHERE
				- TS\_EXTRA\_ARGS=--advertise-tags=tag:container
				- TS\_SERVE\_CONFIG=/config/ts-freshrss.json
				- TS\_STATE\_DIR=/var/lib/tailscale
			volumes:
				- $\{PWD\}/freshrss-tailscale/state:/var/lib/tailscale
				- $\{PWD\}/freshrss-tailscale/config:/config
				- /dev/net/tun:/dev/net/tun
			cap\_add:
				- net\_admin
				- sys\_module
			restart: unless-stopped
		freshrss:
			image: lscr.io/linuxserver/freshrss:latest
			container\_name: freshrss-ts
			network\_mode: service:ts-freshrss
			depends\_on:
				- ts-freshrss
			environment:
				- PUID=1000
				- PGID=1000
				- TZ=Etc/UTC
			volumes:
				- /freshrss-tailscale/config:/config
			restart: unless-stopped
		volumes:
			freshrss-data:
				driver: local
			ts-freshrss:
				driver: local
  1. Deploy Tailscale by running:
    docker compose up -d
    

Accessing FreshRSS via Tailscale

  • Once both containers are running, you can access FreshRSS through its Tailscale IP or domain (e.g., freshrss.mytailscale.net). This allows you to securely access your RSS feeds from anywhere without exposing them to the public internet.

This configuration provides a robust solution for managing RSS feeds while ensuring secure remote access through Tailscale, enhancing both usability and security.

1 Like

It looks like my next project, since RSS is the last bastion of us being able to choose what we are interested in, rather than being told by Google AI what they want us to read. Not so sure where Tailscale fits in, but I will research it.

UPDATE
Tailscale looks to be a bit beyond my pay grade or needs, but conceptually they look to be industry disruptors.