![]() mnt/docker-data/mariadb-ttrss/data:/var/lib/mysqlĪs you can see, I re-use the previous environment variables to create the database and user. mnt/docker-data/mariadb-ttrss/init/:/docker-entrypoint-initdb.d/ The setup for this is pretty simple using the official MariaDB image: mariadb-ttrss: Also my original TT-RSS installation was in mysql and I wanted to migrate the data. I’m using MariaDB for this because it’s what I’m familiar with. Database SetupĪs mentioned earlier, we need a database container for TT-RSS to talk to. The remainder of the configuration is for Traefik and is covered in my earlier post (you’ll need to update the hostnames used here too). ![]() I also chose to mount the plugins.local directory on the host machine to allow me to install plugins easily. We also set the SELF_URL_PATH variable so that TT-RSS knows where it is located (the URL should be updated for your configuration). We can see that the database is configured entirely via environment variables as shown in the project README. In order to use this the file must be sourced before running docker-compose: $ source env.sh This is of the form: export TTRSS_DB_ROOT_PASSWD=supersecretĮxport TTRSS_DB_USER_PASSWD=justalittlebitsecret The environment configuration uses another file env.sh in which we store our secrets. We then define a dependency on the database container, which we will create later. ".=80"īreaking this down, we first create a new service using my TT-RSS image. mnt/docker-data/ttrss/plugins:/var/www/plugins.local As such I added the following to my docker-compose.yml file: ttrss: I’m integrating this with my existing Docker setup via docker-compose and Traefik. It’s pretty much as it was in the original repository, so I’ll go through my setup below. Thanks to some CI magic and GitLab’s built in container registry you can pull the latest version like so: docker pull /robconnolly/docker-ttrssįeel free to read through the project README to familiarise yourself with the options available in the image. I’ve finished off this migration and made the repo public so everyone can benefit from my efforts. After looking through my GitLab repos, it turned out I’d already tried upgrading that image as part of one of my previous attempts with Docker. With a bit of searching I found this repo, however it’s pretty out of date and doesn’t build any more. I had initially planned to use the LinuxServer.io TT-RSS image, but it seems to have been deprecated. There is also an Android app which is available via the Play Store or F-Droid. My Tiny Tiny RSS installĪ particular favourite feature of mine is the ability to generate feeds from any internal view, which makes it great for integrating with other systems which may consume RSS/Atom. I’ve been using it for may years and although I’ve tried out other web based RSS readers (such as Miniflux), I’ve never found anything as good as TT-RSS. ![]() It’s PHP based and supports Postgres or MySQL (like) databases. Tiny Tiny RSS is a web based RSS application (think Google Reader replacement). rss to the end of any subreddit URL) as well as the usual blogs and news sites. For example, I use TT-RSS to keep up with Youtube and Reddit (just add. It’s relatively unknown that you can still get RSS feeds for most news sources on the Internet. As such I’ve run an instance of Tiny Tiny RSS for several years and the time has come to migrate it to Docker. I’ve always been a fan of RSS and believe it’s probably time for a resurgence in use that would free us from our algorithmic overlords. However, there are still those who are dedicated enough to keep curating their own list of feeds and plenty of software to support them. With the rise of social media, RSS seems to have been largely forgotten. Please see the disclaimer for more information. Tweet reddit Email reddit Share Share Pinterest
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |