Ver código fonte

0588: Running Kanboard Visual Todo and Tasks Management in Docker on Linux

i12bretro 3 anos atrás
pai
commit
a8418ebf88
1 arquivos alterados com 86 adições e 0 exclusões
  1. 86 0
      0588.html

+ 86 - 0
0588.html

@@ -0,0 +1,86 @@
+    <!DOCTYPE html>
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>Running Kanboard Visual Todo and Tasks Management in Docker on Linux</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta charset="UTF-8">
+        <meta name="keywords" content="Containerization,Docker,Docker Made Easy,Docker Tutorial,Home Lab,How To,Kanban,Kanboard,Linux,Self-Hosted,Task Management,Todo,Tutorial,Ubuntu,Web Based,i12bretro">
+        <meta name="author" content="i12bretro">
+        <meta name="description" content="Running Kanboard Visual Todo and Tasks Management in Docker on Linux">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+				          <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>Running Kanboard Visual Todo and Tasks Management in Docker on Linux</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <h2>What is Kanboard?</h2>
+
+<blockquote>
+<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>
+</blockquote>
+
+<blockquote> </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&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
+	# add docker software repository<br />
+	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 />
+	# install docker<br />
+	sudo apt install docker-ce docker-compose containerd.io -y<br />
+	# enable and start docker service<br />
+	sudo systemctl enable docker &amp;&amp; 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 Kanboard</h2>
+
+<ol>
+	<li>Now that Docker is installed, run the following commands to setup the Kanboard Docker container and run it
+	<div class="codeBlock"># create working directories<br />
+	mkdir /home/$USER/docker/mariadb -p<br />
+	# set owner of working directories<br />
+	sudo chown &quot;$USER&quot;:&quot;$USER&quot; /home/&quot;$USER&quot;/docker -R<br />
+	# create kanboard 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=kanboard_rw -e MYSQL_PASSWORD=Kanb0r4! -e MYSQL_DATABASE=kanboard -v /home/$USER/docker/mariadb:/var/lib/mysql --restart=unless-stopped mariadb:latest<br />
+	# run the kanboard docker container<br />
+	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>
+	</li>
+	<li>Open a web browser and navigate to http://DNSorIP:8086</li>
+	<li>Login with the username admin and password admin</li>
+	<li>Click the options carrot in the top right corner &gt; My profile</li>
+	<li>Click Edit profile from the left navigation</li>
+	<li>Change the username and set a name and email as needed &gt; Click Save</li>
+	<li>Click Change password from the left navigation</li>
+	<li>Enter admin as the Current password and enter and confirm a new secure password &gt; Click Save</li>
+	<li>Click the options carrot in the top right corner &gt; Logout</li>
+	<li>Log back in with the updated credentials</li>
+	<li>Welcome to Kanboard</li>
+</ol>
+
+<p>Documentation: <a href="https://hub.docker.com/r/kanboard/kanboard" target="_blank">https://hub.docker.com/r/kanboard/kanboard</a></p>
+          </div>
+        </div>
+      </body>
+    </html>
+