-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0890: Run Homarr Application Dashboard in Docker
- Loading branch information
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>Run Homarr Application Dashboard 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,Application Dashboard,Containerize,Docker,Home Lab Dashboard,Docker Container,Docker How To,Docker Simplified,Docker Tutorial,Homelab,Linux,Homepage,Homarr Application Dashboard,Homarr,How To,Tutorial,i12bretro"> | ||
<meta name="author" content="i12bretro"> | ||
<meta name="description" content="Run Homarr Application Dashboard in Docker"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="revised" content="02/11/2024 06:10:46 AM" /> | ||
<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 Homarr Application Dashboard in Docker</h1> | ||
</div> | ||
<div></div> | ||
<div id="content"> | ||
<h2>What is Homarr?</h2> | ||
|
||
<p><em>Simplify the management of your server with Homarr - a sleek, modern dashboard that puts all of your apps and services at your fingertips. With Homarr, you can access and control everything in one convenient location. Homarr seamlessly integrates with the apps you've added, providing you with valuable information and giving you complete control. Installation is a breeze, and Homarr supports a wide range of deployment methods.</em> -<a href="https://github.com/ajnart/homarr" target="_blank">https://github.com/ajnart/homarr</a></p> | ||
|
||
<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 Homarr</h2> | ||
|
||
<ol> | ||
<li>Now that Docker is installed, run the following commands to setup the Homarr Docker container and run it | ||
<div class="codeBlock"># create working directory structure<br /> | ||
mkdir ~/docker/homarr/{configs,data,icons} -p<br /> | ||
# run homarr container<br /> | ||
docker run -d --name=homarr -p 7575:7575 -v /var/run/docker.sock:/var/run/docker.sock -v ~/docker/homarr/configs:/app/data/configs -v ~/docker/homarr/data:/data -v ~/docker/homarr/icons:/app/public/icons --restart=unless-stopped ghcr.io/ajnart/homarr:latest</div> | ||
</li> | ||
<li>Open a web browser and navigate to http://DNSorIP:7575</li> | ||
<li>Click the Start update process button</li> | ||
<li>Click Continue</li> | ||
<li>Enter an admin username and enter and confirm a password > Click Continue</li> | ||
<li>Click the Go to your board button</li> | ||
<li>Welcome to Homarr running in Docker</li> | ||
</ol> | ||
|
||
<p>Source: <a href="https://homarr.dev/docs/getting-started/installation/" target="_blank">https://homarr.dev/docs/getting-started/installation/</a></p> </div> | ||
</div> | ||
</body> | ||
</html> | ||
|