0588.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Running Kanboard Visual Todo and Tasks Management in Docker on Linux</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Containerization,Docker,Docker Made Easy,Docker Tutorial,Home Lab,Kanban,Kanboard,Linux,Self-Hosted,Task Management,Todo,Ubuntu,Web Based,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Running Kanboard Visual Todo and Tasks Management in Docker on Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/29/2022 06:39:24 AM" />
  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>Running Kanboard Visual Todo and Tasks Management in Docker on Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Kanboard?</h2>
  26. <blockquote>
  27. <p><em>Kanboard is project management software that focuses on the Kanban methodology. -<a href="https://github.com/kanboard/kanboard" target="_blank">https://github.com/kanboard/kanboard</a></em></p>
  28. </blockquote>
  29. <blockquote> </blockquote>
  30. <h2>Installing Docker</h2>
  31. <ol>
  32. <li>Log into the Linux based device</li>
  33. <li>Run the following commands in the terminal
  34. <div class="codeBlock"># install prerequisites<br />
  35. sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
  36. # add docker gpg key<br />
  37. 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 />
  38. # add docker software repository<br />
  39. 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 />
  40. # install docker<br />
  41. sudo apt install docker-ce docker-compose containerd.io -y<br />
  42. # enable and start docker service<br />
  43. sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
  44. # add the current user to the docker group<br />
  45. sudo usermod -aG docker $USER<br />
  46. # reauthenticate for the new group membership to take effect<br />
  47. su - $USER</div>
  48. </li>
  49. </ol>
  50. <h2>Running Kanboard</h2>
  51. <ol>
  52. <li>Now that Docker is installed, run the following commands to setup the Kanboard Docker container and run it
  53. <div class="codeBlock"># create working directories<br />
  54. mkdir /home/$USER/docker/mariadb -p<br />
  55. # set owner of working directories<br />
  56. sudo chown &quot;$USER&quot;:&quot;$USER&quot; /home/&quot;$USER&quot;/docker -R<br />
  57. # create kanboard network<br />
  58. docker network create containers<br />
  59. # run the mariadb docker container<br />
  60. docker run -d --name mariadb --network containers --network-alias db -e MYSQL_ROOT_PASSWORD=r00tp@ss -e MYSQL_USER=kanboard_rw -e MYSQL_PASSWORD=Kanb0r4! -e MYSQL_DATABASE=kanboard -v /home/$USER/docker/mariadb:/var/lib/mysql --restart=unless-stopped mariadb:latest<br />
  61. # run the kanboard docker container<br />
  62. docker run -d --name kanboard --network containers -p 8086:80 -e DATABASE_URL=&#39;mysql://kanboard_rw:Kanb0r4!@db/kanboard&#39; --restart=unless-stopped kanboard/kanboard:latest</div>
  63. </li>
  64. <li>Open a web browser and navigate to http://DNSorIP:8086</li>
  65. <li>Login with the username admin and password admin</li>
  66. <li>Click the options carrot in the top right corner &gt; My profile</li>
  67. <li>Click Edit profile from the left navigation</li>
  68. <li>Change the username and set a name and email as needed &gt; Click Save</li>
  69. <li>Click Change password from the left navigation</li>
  70. <li>Enter admin as the Current password and enter and confirm a new secure password &gt; Click Save</li>
  71. <li>Click the options carrot in the top right corner &gt; Logout</li>
  72. <li>Log back in with the updated credentials</li>
  73. <li>Welcome to Kanboard</li>
  74. </ol>
  75. <p>Documentation: <a href="https://hub.docker.com/r/kanboard/kanboard" target="_blank">https://hub.docker.com/r/kanboard/kanboard</a></p>
  76. </div>
  77. </div>
  78. </body>
  79. </html>