Run FreshRSS - RSS Feed Aggregator - in Docker 🌱

What is FreshRSS?

FreshRSS is a self-hosted RSS feed aggregator. It is lightweight, easy to work with, powerful, and customizable. -https://github.com/FreshRSS/FreshRSS

Installing Docker

  1. Log into the Linux based device
  2. Run the following commands in the terminal
    # install prerequisites
    sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
    # add docker gpg key
    curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
    # add docker software repository
    sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
    # install docker
    sudo apt install docker-ce docker-compose containerd.io -y
    # enable and start docker service
    sudo systemctl enable docker && sudo systemctl start docker
    # add the current user to the docker group
    sudo usermod -aG docker $USER
    # reauthenticate for the new group membership to take effect
    su - $USER

Running FreshRSS

  1. Now that Docker is installed, run the following commands to setup the FreshRSS Docker container and run it
    # create working directories
    mkdir ~/docker/mariadb -p && mkdir ~/docker/freshrss/{data,extensions} -p
    # set owner of working directories
    sudo chown "$USER":"$USER" ~/docker -R
    # create containers network
    docker network create containers
    # run the mariadb docker container
    docker run -d --name mariadb --network containers --network-alias db -e MYSQL_ROOT_PASSWORD=r00tp@ss -e MYSQL_USER=freshrss_rw -e MYSQL_PASSWORD=Fr3shRSS! -e MYSQL_DATABASE=freshrss -v /home/$USER/docker/mariadb:/var/lib/mysql --restart=unless-stopped mariadb:latest
    # run the freshrss docker container
    docker run -d --name freshrss --network containers -p 8089:80 -e 'CRON_MIN=1,31' -e TZ=America/New_York -v ~/docker/freshrss/data:/var/www/FreshRSS/data -v ~/docker/freshrss/extensions:/var/www/FreshRSS/extensions --restart=unless-stopped freshrss/freshrss
  2. Open a web browser and navigate to http://DNSorIP:8089
  3. Select a Language > Click Submit
  4. Click the Go to the next step button
  5. Complete the database configuration form as follows

    Type of database: MySQL
    Host: mariadb
    Database username: freshrss_rw
    Database password: Fr3shRSS!
    Database: freshrss
    Table prefix:

  6. Click the Go to the next step button
  7. Enter a username and password > Click Submit
  8. Click the Complete Installation button
  9. Login with the username and password created earlier
  10. Welcome to FreshRSS

Documentation: https://hub.docker.com/r/freshrss/freshrss