Native Docker approach for automated feed updates in FreshRSS with Ofelia reddit / selfhosted ---------------------------------------------------------------------- Trustworthy_Fartzzz · 2023-11-26 22:06 I've started using FreshRSS for my RSS backend. Reeder on iOS, of course. I was rather surprised the tool doesn't do automated feed refreshes out of the box. Further, [the documentation](http://freshrss .github.io/FreshRSS/en/admins/08_FeedUpdates.html) didn't offer any container-native approach to automatically updating my feeds. I'd recently discovered [ofelia](https://github.com/mcuadros/ofelia) and thought this might be a good use case for it. I added the following to the \`services\` block in my FreshRSS \`docker- compose.yml\` file: ofelia: image: mcuadros/ofelia:latest depends_on: - freshrss command: daemon --docker volumes: - /var/run/docker.sock:/var/run/docker.sock:ro Then I added the following \`labels\` to my \`freshrss\` container definition: - "ofelia.enabled=true" - "ofelia.job-exec.datecron.schedule=@every 30m" - "ofelia.job-exec.datecron.command=/usr/bin/php /var/www/FreshRSS/app/actualize_script.php" A couple of notes: * \`ofelia\` lets you run commands \_inside\_ the other container with \`job-exec\`; there are a few other options for job types. * Output from the \`command\` you pass as a label will show up in \`ofelia\`'s logs. I suspect I will find many more use cases for \`ofelia\` now that I've discovered it. ---------------------------------------------------------------------- bka-informant · 2023-11-26 22:20 Or you can use the FreshRSS image from LinuxServer.io, which already has an integrated cronjob for this every 15 minutes https://hub.docker.com/r/linuxserver/freshrss ---------------------------------------------------------------------- zoredache · 2023-11-26 23:11 Instead of reading the docs for how to use a native install of freshrss, you might want to read the docs for running under docker. https://github.com/FreshRSS/FreshRSS/blob/edge/Docker/README.md Simply add `CRON_MIN=30` as an environmental variable to your compose, and cron will refresh every 30 minutes.