12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Run FreshRSS - RSS Feed Aggregator - in Docker</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Browser Based,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Web Based,Web Based Tools,FreshRSS,FressRSS Installation Tutorial,How To Install FreshRSS On Linux,Linux,MariaDB,MySQL,PHP,RSS Aggregator,RSS Feed Manager,Self-Hosted,Ubuntu,Homelab,Getting Started With Docker,Docker Tutorial,Docker Simplified,Docker Made Simple,Docker Installation Tutorial,Docker How To,Docker Container,Docker,Containerize,Container,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Run FreshRSS - RSS Feed Aggregator - in Docker">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="08/06/2023 12:08:40 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Run FreshRSS - RSS Feed Aggregator - in Docker</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>What is FreshRSS?</h2>
- <blockquote><em>FreshRSS is a self-hosted RSS feed aggregator. It is lightweight, easy to work with, powerful, and customizable. -<a href="https://github.com/FreshRSS/FreshRSS" target="_blank">https://github.com/FreshRSS/FreshRSS</a></em></blockquote>
- <h2>Installing Docker</h2>
- <ol>
- <li>Log into the Linux based device</li>
- <li>Run the following commands in the terminal
- <div class="codeBlock"># install prerequisites<br />
- sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
- # add docker gpg key<br />
- curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -<br />
- # add docker software repository<br />
- 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"<br />
- # install docker<br />
- sudo apt install docker-ce docker-compose containerd.io -y<br />
- # enable and start docker service<br />
- sudo systemctl enable docker && sudo systemctl start docker<br />
- # add the current user to the docker group<br />
- sudo usermod -aG docker $USER<br />
- # reauthenticate for the new group membership to take effect<br />
- su - $USER</div>
- </li>
- </ol>
- <h2>Running FreshRSS</h2>
- <ol>
- <li>Now that Docker is installed, run the following commands to setup the FreshRSS Docker container and run it
- <div class="codeBlock"># create working directories<br />
- mkdir ~/docker/mariadb -p && mkdir ~/docker/freshrss/{data,extensions} -p<br />
- # set owner of working directories<br />
- sudo chown "$USER":"$USER" ~/docker -R<br />
- # create containers network<br />
- docker network create containers<br />
- # run the mariadb docker container<br />
- 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<br />
- # run the freshrss docker container<br />
- 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</div>
- </li>
- <li>Open a web browser and navigate to http://DNSorIP:8089</li>
- <li>Select a Language > Click Submit</li>
- <li>Click the Go to the next step button</li>
- <li>Complete the database configuration form as follows
- <p>Type of database: MySQL<br />
- Host: mariadb<br />
- Database username: freshrss_rw<br />
- Database password: Fr3shRSS!<br />
- Database: freshrss<br />
- Table prefix:</p>
- </li>
- <li>Click the Go to the next step button</li>
- <li>Enter a username and password > Click Submit</li>
- <li>Click the Complete Installation button</li>
- <li>Login with the username and password created earlier</li>
- <li>Welcome to FreshRSS</li>
- </ol>
- <p>Documentation: <a href="https://hub.docker.com/r/freshrss/freshrss" target="_blank">https://hub.docker.com/r/freshrss/freshrss</a></p> </div>
- </div>
- </body>
- </html>
-
|