Skip to content

How to Install The Homarr Dashboard

Description of your image

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.


Informative Section
!

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.

Description of your image

If you want to know where I got the commands shown in the video, they are from the following/trial and error:

  1. Docker for Ubuntu
  2. Docker Compose
  3. Homarr for Docker Compose
  4. 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.

Description of your image

Now we are going to start installing all the packages (Docker, Docker Compose, and Homarr).

Description of your image

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.

sudo docker run hello-world

Description of your image

If Docker hello fails do the following

if you do not get a response try

systemctl status docker.service

If that shows failed messages, try the following

sudo systemctl daemon-reload
sudo systemctl restart docker

Then try to see its status once again:

systemctl status docker.service

Description of your image

Install Docker Compose

Install Docker Compose with:

sudo apt install docker-compose

Verify that docker compose is installed

docker compose version

Description of your image

Install Homarr

Then create a docker compose file:

nano docker-compose.yml

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'

Description of your image

Then run the following to start it:

sudo docker compose up -d

Then to login to your machine you will type the following into your browser to access the panel:

ip_address:7575

After you go to the site you will be presented with this screen, make a username and matching password.

Description of your image

To edit the dashboard you will select the following icon from the top right

Description of your image

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.

Description of your image

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.

Description of your image

Starting and Stopping Homarr

Start and stop

sudo systemctl stop docker
Restart:

sudo systemctl restart docker
Check the status:

sudo systemctl status docker

and start docker compose:

sudo docker compose up -d

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)

Description of your image