Question Anyone run FreshRSS in Docker?

Currently reading
Question Anyone run FreshRSS in Docker?

fredbert

Moderator
NAS Support
Subscriber
5,122
2,072
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
  3. RT6600ax
  4. WRX560
Operating system
  1. macOS
Mobile operating system
  1. iOS
Last edited:
I still use RSS feeds to get the news I want, rather than let FaceAche and Twiddle decide what I might like to see (or not).

I use Reeder app on iOS and macOS as well as FeedBin's own web interface. However I have occasionally looked at self-hosted RSS aggregation but nothing has jumped out as a reasonably easy solution. The last few days Reeder was updated to support FreshRSS, which I hadn't come across before. It needs a fair few additional packages to build up but then I thought about Docker and found some containers in the registry. Of the top two I selected linuxserver/freshrss (Docker Hub).

Just to test it: I launched the image with the Docker default settings, except I deleted the HTTP port and set the HTTPS port to a fixed number. After that I added a DSM reverse proxy to access it using my domain on HTTPS/443; a local DNS CNAME for the subdomain; updated the LE certificate with an SubjAltName for this subdomain. I haven't changed anything that would write databases etc to the NAS file shares, it's all contained in the container and that's probably not a wise way to proceed in the long term.

The first browser connection requires select of the database type (SQLite [selected this], MySQL, Postgres) and a user to be created as the admin user. Then go and enable the API interface so that Reeder can connect. That's pretty much it to get it going.

Next, added a user and imported my OPML file (exported from FeedBin or macOS Reeder). The user needs to set an API password as this is less secure that the web login (they say) and now Reeder can access using either FreshRSS account type (greader.php api) or the Fever account type (fever.php api) ... just need to edit the URL because Reeder adds an unwanted '/p' in the heirarchy.

Here's the question...

Has any one looked at running FreshRSS in Docker and how secure is it? Also how to configure NAS storage, or at least backup, the user data?

For my low priority RSS needs (reading today's news) of 20-ish feeds this might be a good, free solution and also others can have an account if they need it. FeedBin is still better but costs.

Meant to add, the container is running between 0 to 2% CPU (DS218+) and 30-40MB RAM.
 
I don't use FreshRSS, but TinyTinyRSS in Docker for some feeds: Docker Hub

You'll also need to install and configure Fever to work with Reeder. Maybe it will suit your needs.

But for some other feeds I need only privately to read some local news I switched from Reeder app to News Explorer for Mac and iOS. Easy to set up, syncs with iCloud and that's enough for my needs.
 
I hadn't thought about TTRSS but ... didn't you write up about it? I must've missed the Fever api bit as I have looked and TTRSS isn't directly supported in Reeder.

Having gone through a lot of different RSS reader apps I'm happy at the moment with Reeder. Mostly reading on the phone and bookmarking the odd article for later.

With FeedBin I now have NAS and CCC backup alerts emailed to a special address that turns up in the feeds and saves lots Inbox clutter. Also it is better at handling my single article weather xml (from Wweex) that gets updated every 15 mins, and this shows where an aggregator works better than a client only setup.

The FreshRSS image-proxy extension causes the nginx server to fail serving page requests. That would be good to fix as it would provide a buffer between the client and image sources.


How do you manage the database and other configuration files? Have you mapped them to a shared folder?
 
I don't use FreshRSS, but TinyTinyRSS in Docker for some feeds: Docker Hub

You'll also need to install and configure Fever to work with Reeder. Maybe it will suit your needs.

But for some other feeds I need only privately to read some local news I switched from Reeder app to News Explorer for Mac and iOS. Easy to set up, syncs with iCloud and that's enough for my needs.
I'm also running Tiny Tiny RSS. I set it up from the instructions and docker compose file here A ttrss setup guide - Start your own RSS aggregator today - Henry's blog
 
So you mean the the DB files are on a NAS shared folder not in the container itself?
It all depends how your PostgreSQL is setup, but if its setup that its volume is exposed to the NAS then yes, the DB file are on the nas shared folder.

Any valuable data must not be left in the container. On each shutdown/boot it will reset itself.
 
Last edited:
That's the thing, my test setup is using SQLite where the data is held within the container itself. I've never investigated using PostgreSQL except where it's already running, e.g. for manipulating Video Station age classification records.

I know DSM has PostgreSQL built-in but don't know if I can use it for this. I've looked at the other Docker guides and they end with 'fill in these PSQL parameters' which is great if you know the info but leaves a bit of detective work if you don't. Is there an expectation that there's an accessible PSQL deployment somewhere? If yes, how to achieve this. My background has been in security not applications :)

For a temporary, dirty fix I ...
  1. Shutdown the container.
  2. Created a folder in my Docker shared folder in DSM and mounted this within the container (somewhere safe /data/nas)
  3. Started the container
  4. Using a bash shell in the container's Terminal: did a 'cp -a' of the /config/www/freshrss/data/* directory contents to the /data/nas
  5. Shutdown the container and remapped the DSM folder to mount on /config/www/freshrss/data/
  6. Started the container and added items to the DSM folder to test they turned up in the container .. they did

This DSM folder is already in scope of HB backups.
 
Been running ttrss with fever plugin for years. Runs great with reeder on ios and mac. love it
Re: Fever. I downloaded it and was all ready to go, but it seems to be discontinued, and only support past customers. Any ideas there? I got ttrss working, but cannot use a read due to lack of api.
 
So this will not require “activation”? I’m fairly new to the all of this, but reading a lot. I have to be mindful of dated items.
There is no activation, no. This is simply a plugin. I use it day to day on both macos and ios side.

If you need a hand, let me (us) know.
 
Thanks. I may need that. I'll keep tinkering with it. Copying to the plugin folder is a bit challenging for me (lack of knowledge).

I have Putty and can gain root access or use sudo under my login. Might be the directory path I'm using. (note I dowloaded, but switch and tried the command prompt option since I'm not able to see the actual folder to copy to. Sorry, a newbie.

I attached the path where my ttrss files are located. I assume the plugin folder is a hidden one from the Folder view (gui).
 

Attachments

  • Screen Shot 2020-01-08 at 7.21.52 AM.png
    Screen Shot 2020-01-08 at 7.21.52 AM.png
    3.5 KB · Views: 11

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

GPU passthrough would be a great addition to VMM, even though the majority of DiskStations wouldn't...
Replies
4
Views
3,744
Sorry to reply this. It does not seem to work well on the latest version (DSM7.1.1)? After I run this...
Replies
17
Views
20,577
I have no idea what you are doing, but I just tested it based on the instructions of the guide you linked...
Replies
11
Views
2,588
  • Question
It is realy not complicated to translater container arguments to Synology UI settings. Here is what each...
Replies
2
Views
1,842
Same here This worked for me: Task script: #!/bin/bash cd /volume1/docker/[directory where...
Replies
10
Views
5,771

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top