Run FreshRSS - RSS Feed Aggregator - in Docker
i12bretro
#FreshRSS #RSS #Docker
Full steps can be found at https://i12bretro.github.io/tutorials/0237.html
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
01. Log into the Linux based device 02. 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
01. 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 02. Open a web browser and navigate to http://DNSorIP:8089 03. Select a Language ≫ Click Submit 04. Click the Go to the next step button 05. Complete the database configuration form as follows Type of database: MySQL Host: mariadb Database username: freshrss_rw Database password: Fr3shRSS! Database: freshrss Table prefix: 06. Click the Go to the next step button 07. Enter a username and password ≫ Click Submit 08. Click the Complete Installation button 09. Login with the username and password created earlier 10. Welcome to FreshRSS Documentation: https://hub.docker.com/r/freshrss/freshrss
Connect with me and others
★ Discord: https://discord.com/invite/EzenvmSHW8 ★ Reddit: https://reddit.com/r/i12bretro ★ Twitter: https://twitter.com/i12bretro ... https://www.youtube.com/watch?v=MOF0SfFp3zs
22116323 Bytes