0237.html 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Run FreshRSS - RSS Feed Aggregator - in Docker</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <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">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Run FreshRSS - RSS Feed Aggregator - in Docker">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="08/06/2023 12:08:40 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Run FreshRSS - RSS Feed Aggregator - in Docker</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is FreshRSS?</h2>
  26. <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>
  27. <h2>Installing Docker</h2>
  28. <ol>
  29. <li>Log into the Linux based device</li>
  30. <li>Run the following commands in the terminal
  31. <div class="codeBlock"># install prerequisites<br />
  32. sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
  33. # add docker gpg key<br />
  34. curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
  35. # add docker software repository<br />
  36. sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
  37. # install docker<br />
  38. sudo apt install docker-ce docker-compose containerd.io -y<br />
  39. # enable and start docker service<br />
  40. sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
  41. # add the current user to the docker group<br />
  42. sudo usermod -aG docker $USER<br />
  43. # reauthenticate for the new group membership to take effect<br />
  44. su - $USER</div>
  45. </li>
  46. </ol>
  47. <h2>Running FreshRSS</h2>
  48. <ol>
  49. <li>Now that Docker is installed, run the following commands to setup the FreshRSS Docker container and run it
  50. <div class="codeBlock"># create working directories<br />
  51. mkdir ~/docker/mariadb -p &amp;&amp; mkdir ~/docker/freshrss/{data,extensions} -p<br />
  52. # set owner of working directories<br />
  53. sudo chown &quot;$USER&quot;:&quot;$USER&quot; ~/docker -R<br />
  54. # create containers network<br />
  55. docker network create containers<br />
  56. # run the mariadb docker container<br />
  57. 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 />
  58. # run the freshrss docker container<br />
  59. docker run -d --name freshrss --network containers -p 8089:80 -e &#39;CRON_MIN=1,31&#39; -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>
  60. </li>
  61. <li>Open a web browser and navigate to http://DNSorIP:8089</li>
  62. <li>Select a Language &gt; Click Submit</li>
  63. <li>Click the Go to the next step button</li>
  64. <li>Complete the database configuration form as follows
  65. <p>Type of database: MySQL<br />
  66. Host: mariadb<br />
  67. Database username: freshrss_rw<br />
  68. Database password: Fr3shRSS!<br />
  69. Database: freshrss<br />
  70. Table prefix:</p>
  71. </li>
  72. <li>Click the Go to the next step button</li>
  73. <li>Enter a username and password &gt; Click Submit</li>
  74. <li>Click the Complete Installation button</li>
  75. <li>Login with the username and password created earlier</li>
  76. <li>Welcome to FreshRSS</li>
  77. </ol>
  78. <p>Documentation: <a href="https://hub.docker.com/r/freshrss/freshrss" target="_blank">https://hub.docker.com/r/freshrss/freshrss</a></p> </div>
  79. </div>
  80. </body>
  81. </html>