How to Install The Homarr Dashboard
EP 22 - Homarr 1.0 Install/Upgrade:
Introduction
In this episode we are going to cover how to install the Homarr Dashboard. Homarr is a dashboard that helps you manage your server by providing access to all your apps and services in one place. It's highly customizable and integrates with self-hosted applications.
The following commands will work with EITHER a Proxmox VM or Proxmox container!
Getting Started
The first thing you will need to do is create a Proxmox VM or container. Please see the image below with the example of the configuration we used for our Homarr Vm.
If you want to know where I got the commands shown in the video, they are from the following/trial and error:
Useful Links
- Docker for Ubuntu
- Docker Compose
- Homarr for Docker Compose
- After the Homarr Install, how to configure the panel
How to Install Homarr
After creating your VM/container, SSH into your about to be Homarr Machine.
Now we are going to start installing all the packages (Docker, Docker Compose, and Homarr).
Installing Docker
Adding the GPG keys and Docker repo:
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
Install the Latest Package:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Ensure Docker is running after Install, you will get a response like this.
If Docker hello fails do the following
if you do not get a response try
If that shows failed messages, try the following
Then try to see its status once again:
Install Docker Compose
Install Docker Compose with:
Verify that docker compose is installed
Install Homarr
Then create a docker compose file:
Copy the following file config in there from Homarr
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./homarr/configs:/app/data/configs
- ./homarr/icons:/app/public/icons
- ./homarr/data:/data
ports:
- '7575:7575'
Then run the following to start it:
Then to login to your machine you will type the following into your browser to access the panel:
After you go to the site you will be presented with this screen, make a username and matching password.
To edit the dashboard you will select the following icon from the top right
You will then be presented with the options APPS / WIDGETS / CATEGORIES. APPS are used to connect VMs, containers, etc. as hyperlinks so we can access those sites/resources quickly.
When adding VMs, Containers, or other services you will use the IP address and the port number for both the internal and external address sections after selecting the APP option.
Starting and Stopping Homarr
Start and stop
Restart: Check the status:and start docker compose:
Next Steps After Installing Homarr
After you are done installing Homarr check out their content on how to setup Widgets and organize the Dashboard here
If you would like to know how to add websites, and your Proxmox machines information like found in the screenshot below, please watch our next episode (EP14)