Skip to content

Set Up Homepage on a Linux Server – Dashboard as the Start Page for Your Services

Homepage dashboard on a Linux server: set it up as a One-Click App or with Docker Compose, then add login, services, widgets, and YAML bookmarks.

29 November 202613 min read1 Views0 helpful

Introduction

Homepage (also known as “gethomepage”) is a self-hosted dashboard that you use as your browser’s start page. It displays all your services as tiles with icons and descriptions, along with bookmarks, a search bar, the time, and your server’s resource usage. With more than a hundred service widgets, Homepage can fetch live data from your apps, such as Jellyfin, Uptime Kuma, or Pi-hole. Homepage is open source (GPL-3.0) and is configured entirely through YAML files; there is no editor in the browser.

Info: Homepage is not a website builder

Despite its name, Homepage does not let you create a website for visitors. Instead, it gives you a personal overview of your own services. If you want to build a website or blog, read Set Up WordPress on a Linux Server or Install WordPress in Web Hosting.

In this guide, we’ll show you two ways to get started: the easy way with a One-Click App, which makes Homepage available over HTTPS in about a minute, and a manual installation with Docker Compose following the official guide. Then you’ll add your services, widgets, and bookmarks, connect Docker, and protect the dashboard with a password.

When Homepage Makes Sense on a VPS

Homepage also runs on a computer at home. A VPS is worthwhile if:

  • Your services are already running on the server. You can then access Nextcloud, Vaultwarden, Jellyfin, or Uptime Kuma from a single start page instead of a list of bookmarks.
  • You want to use the start page on all your devices. Set the address as your browser’s start page on your PC, laptop, and smartphone.
  • You want to see live data from your apps. Service widgets can show active streams, queues, or blocked requests directly on a tile, for example.
  • You don’t want a device at home running around the clock. The VPS is always online, and Homepage uses few resources.

Homepage is less suitable if you prefer to put together your start page in the browser using a mouse. You make every change in a YAML file. Homepage also does not support user accounts with individual permissions: at most, you can use one shared password for everyone.

Info: Homepage, Glance, or Heimdall?

You’ll find several start pages in the app catalog. Homepage is designed for services and live data from your apps. Glance is more focused on bringing together information sources such as RSS feeds, weather, and videos. Heimdall and Homer are simple link collections; Heimdall includes a browser-based editor. This guide covers Homepage.

The Easy Way: Homepage as a One-Click App

The quickest way to get Homepage is through your VPS’s One-Click Apps. The app is directly accessible over HTTPS with a domain and starts with a sample page. You don’t need a reverse proxy, certificate, or firewall rules.

Requirements

  • A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps for instructions.
  • Access via SSH or SFTP to edit the configuration files.

Install

  1. Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
  2. Search for Homepage in the app catalog and click Install app.
  3. Use a custom subdomain or zap.cloud is already selected. Leave this option enabled and enter a name, for example my-dashboard. The full address is displayed directly below in the form; for zap.cloud, your service number is added automatically.
  4. There are no required fields. Homepage does not need login details or a database during installation. If you want to enable login right away, enter the variables from the “Protect the Dashboard with a Password” section under Custom environment variables now.
  5. Click Queue installation. After about a minute, Homepage will show as online on the app card.

First Visit

Open the app’s Access link. You’ll go straight to the sample page, which has three example services, bookmarks to GitHub, Reddit, and YouTube, a search bar, and displays for CPU, memory, and free disk space. There is no login at first.

The One-Click App does not mount a Docker socket or include any credentials. That’s why the empty start page only shows the examples and the server’s resource usage. This changes as soon as you add your own services and widgets.

Warning: Your dashboard is public without a login

Anyone who knows the access link can see all your tiles, links, and live widget data. Homepage does not pass API keys to the browser, but it does expose the data it fetches. So enable login before adding your own services. The next section explains how.

Protect the Dashboard with a Password

Since version 2.0, Homepage includes its own login using a shared password. Enable it with four environment variables. To do this, open the app’s settings (gear icon), go to App environment, and under Custom environment variables, click the plus icon (Add variable) to add these entries:

KeyValue
HOMEPAGE_AUTH_ENABLEDtrue
HOMEPAGE_AUTH_PASSWORDa long, unique password
HOMEPAGE_AUTH_SECRETa random string of at least 32 characters
HOMEPAGE_EXTERNAL_URLthe full address from the Access link, for example https://my-dashboard-12345.zap.cloud

You can generate a suitable string for HOMEPAGE_AUTH_SECRET over SSH with openssl rand -base64 32. Then click Save. Homepage will restart, and after a few seconds, every visit will redirect to the “Login required” page. In our test, all data endpoints were also locked behind login; only the app’s health check remained accessible.

Tip: Choose a strong password

Homepage does not limit failed login attempts. So choose a long, random password that you don’t use anywhere else, for example one from your password manager. The values are stored in plain text under App environment, so don’t share access to the ZapX dashboard.

Where the Configuration Files Are Located

The One-Click App does not have an editor in the dashboard. Homepage reads its settings from several YAML files stored directly on your VPS:

Code
/data/coolify/services/APP_ID/config/

APP_ID is the app’s ID. Find the directory over SSH with:

Code
ls -d /data/coolify/services/*/config/services.yaml

If there are several results, docker ps --format '{{.Names}}' | grep homepage shows you the matching container. Its name is homepage- followed by the app’s ID. The most important files are:

FileContents
services.yamlyour services as tiles, organized into groups, optionally with a widget
widgets.yamlthe bar at the top: resource usage, search, time, weather
bookmarks.yamlbookmarks below the services
settings.yamltitle, colors, background, and group layout
docker.yamlconnections to Docker; see below
custom.css, custom.jscustom appearance changes

Edit the files over SSH, for example with nano. Homepage rereads them on every visit, so you don’t need to restart it. Just reload the page in your browser after saving. Store your own icons and background images in /data/coolify/services/APP_ID/images and reference them as /images/file.png. Homepage only recognizes new images after the app restarts.

Warning: Edit files directly; don’t replace them

The One-Click App mounts each file in the container individually. An editor such as nano writes to the existing file, which works. If you delete a file and create it again, or your SFTP program replaces it using a temporary file, the container will continue to see the old version. In that case, restart the app using the restart icon on the app card. The One-Click App cannot read new configuration files that are not listed above.

Updates and Backups

Check for Homepage updates in the app’s settings (gear icon), under App update. Click Check for updates, then install a new version with Apply update. If it says the app is up to date, there is no newer version in the app catalog. In our test, Homepage was running v2.8.0.

In our test, your edited files were retained when saving App environment and restarting the app as a result. Still, back them up before every update, since they are everything that makes up your dashboard:

Code
tar -czf /root/homepage-backup-$(date +%F).tar.gz -C /data/coolify/services/APP_ID config images

Also keep a copy outside the server, for example by transferring it to your computer over SFTP.

Manual Installation

The rest of this guide covers the manual installation of Homepage with Docker Compose on your VPS, for example if you don’t use One-Click Apps on the server or want to display the status of your Docker containers. It is based on Homepage’s official Docker guide.

Requirements

  • A Linux VPS running Debian or Ubuntu with SSH access; see First Access via SSH.
  • Docker and Docker Compose; see Install Docker. Check the installation with docker --version and docker compose version.
  • For HTTPS: a domain or subdomain whose A record points to your VPS’s IP address (e.g., start.example.com).

The official documentation does not specify minimum requirements. In our test, Homepage used around 180 MB of memory, and the image is just under 380 MB. These values are sufficient in practice:

MinimumRecommended
CPU1 vCore1 vCore
RAM512 MB1 GB
Storage2 GB5 GB

Prepare the Firewall

Homepage listens on port 3000 in the container. You don’t need to open this port if you use a reverse proxy as shown below. With ufw, allow only SSH and the ports for the reverse proxy:

Code
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
Warning: Docker bypasses ufw

Ports published by Docker with ports: are accessible from outside even if ufw blocks them. So, as shown in the Compose file below, bind Homepage only to 127.0.0.1. For more information about the firewall, see Manage the Firewall on Linux.

Install with Docker Compose

Create a directory for Homepage:

Code
mkdir -p /opt/homepage/config /opt/homepage/images
cd /opt/homepage

Generate the login values and save them in a .env file that only root can read:

Code
echo "HOMEPAGE_AUTH_SECRET=$(openssl rand -base64 32)" > .env
echo "HOMEPAGE_AUTH_PASSWORD=$(openssl rand -base64 24)" >> .env
chmod 600 .env

You can view the generated password with cat .env. Create the Compose file with nano docker-compose.yml:

Code
services:
  homepage:
    image: ghcr.io/gethomepage/homepage:v2.8.0
    container_name: homepage
    restart: unless-stopped
    ports:
      - 127.0.0.1:3000:3000
    volumes:
      - ./config:/app/config
      - ./images:/app/public/images
    environment:
      HOMEPAGE_ALLOWED_HOSTS: start.example.com
      HOMEPAGE_AUTH_ENABLED: "true"
      HOMEPAGE_AUTH_SECRET: ${HOMEPAGE_AUTH_SECRET}
      HOMEPAGE_AUTH_PASSWORD: ${HOMEPAGE_AUTH_PASSWORD}
      HOMEPAGE_EXTERNAL_URL: https://start.example.com

Here’s what the entries mean:

  • image: the official image with a fixed version. Find new versions in Homepage releases.
  • 127.0.0.1:3000:3000: Homepage is only accessible from the server itself; external access goes through the reverse proxy.
  • ./config:/app/config: this is where your YAML files are stored. If the directory is empty, Homepage creates sample files when it starts for the first time.
  • ./images:/app/public/images: directory for custom icons and background images.
  • HOMEPAGE_ALLOWED_HOSTS: required since version 1.0. Enter the domain you use to access Homepage. localhost:3000 is always allowed. If the domain is missing, Homepage displays a host validation error.
  • HOMEPAGE_AUTH_* and HOMEPAGE_EXTERNAL_URL: enable password login. The values come from .env.

Replace start.example.com with your domain and start the container:

Code
docker compose up -d

Check whether everything is running with docker compose logs. The sample files will then be in the config directory.

First Visit

Since Homepage only listens on 127.0.0.1, use an SSH tunnel for your first visit. Run this on your own computer:

Code
ssh -L 3000:localhost:3000 root@SERVER_IP

Replace SERVER_IP with your VPS’s IP address and open http://localhost:3000 in your browser. Login uses the address in HOMEPAGE_EXTERNAL_URL and secure cookies for HTTPS, so it only works through your domain. For a quick test over the tunnel, temporarily set HOMEPAGE_AUTH_ENABLED to "false" and restart with docker compose up -d. Since Homepage only listens on 127.0.0.1, it won’t be accessible from outside. Enable login again once the reverse proxy is running.

Access over HTTPS through a Reverse Proxy

To access Homepage without a tunnel, put a reverse proxy with a valid certificate in front of it. For the basics, see Set Up a Reverse Proxy with nginx and Create an SSL Certificate (Let's Encrypt). Here’s a server block for nginx:

Code
server {
    listen 80;
    server_name start.example.com;

    location / {
        proxy_pass http://127.0.0.1:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

Then get the certificate with certbot --nginx -d start.example.com. Certbot adds HTTPS and the HTTP redirect to the block. The proxy_set_header Host $host line is important: Homepage checks the hostname against HOMEPAGE_ALLOWED_HOSTS.

Instead of, or in addition to, Homepage’s built-in login, you can add a Basic Auth prompt in nginx. Create a user with htpasswd -c /etc/nginx/.htpasswd admin (the apache2-utils package), then add the lines auth_basic "Homepage"; and auth_basic_user_file /etc/nginx/.htpasswd; to the location block. Check the configuration with nginx -t and reload nginx with systemctl reload nginx.

Back Up Your Data

Homepage stores only your configuration files, images, and .env. Back up the entire directory:

Code
tar -czf homepage-backup-$(date +%F).tar.gz /opt/homepage

Copy the archive to another system. It contains your password and any API keys, so store it securely. To restore it, extract the archive and start Homepage with docker compose up -d.

Update Homepage

Read the release notes before updating, since new versions sometimes change widgets or options. Then enter the new version in the image field of docker-compose.yml and restart the container:

Code
cd /opt/homepage
docker compose pull
docker compose up -d

Your configuration will be retained. Remove old images with docker image prune.

Add Services, Widgets, and Bookmarks

All the examples in this chapter work the same way with the One-Click App and the manual installation. For the One-Click App, edit the files in /data/coolify/services/APP_ID/config/; for the manual installation, use /opt/homepage/config/. The official documentation describes all the options.

Services in services.yaml

Services are organized into groups. Each service gets a link (href), a short description, and an icon:

Code
- Apps:
    - Nextcloud:
        href: https://cloud.example.com
        description: Files and calendar
        icon: nextcloud.png
    - Vaultwarden:
        href: https://vault.example.com
        description: Passwords
        icon: vaultwarden.png

- Server:
    - Uptime Kuma:
        href: https://status.example.com
        description: Monitoring
        icon: uptime-kuma.png

Homepage loads icons such as nextcloud.png from the Dashboard Icons collection. Write Material Design icons as mdi-server. Set the order and layout of groups in settings.yaml:

Code
title: My Start Page
theme: dark
layout:
  Apps:
    style: row
    columns: 3
  Server:
    style: row
    columns: 2

Live Data with Service Widgets

A service widget fetches data from your app and displays it on the tile. The widget’s page in the widget list explains what information it needs. Usually, this is the app’s address and an API key:

Code
- Media:
    - Jellyfin:
        href: https://media.example.com
        icon: jellyfin.png
        widget:
          type: jellyfin
          url: https://media.example.com
          key: "{{HOMEPAGE_VAR_JELLYFIN_KEY}}"

You don’t have to put the key in the file. Homepage replaces {{HOMEPAGE_VAR_NAME}} with the value of the environment variable with the same name. For the One-Click App, add HOMEPAGE_VAR_JELLYFIN_KEY under App environment > Custom environment variables; for the manual installation, add it under environment: or in .env. Homepage requests data from the app from the server, so the key is not sent to the browser. The address must therefore be accessible from the server.

Information at the Top and Bookmarks

Control the bar at the top through widgets.yaml. This example shows resource usage, a search bar, and the time:

Code
- resources:
    cpu: true
    memory: true
    disk: /

- search:
    provider: duckduckgo
    target: _blank

- datetime:
    text_size: xl
    format:
      timeStyle: short
      hourCycle: h23

Bookmarks are in bookmarks.yaml, also organized into groups. abbr is the abbreviation displayed instead of an icon:

Code
- Docs:
    - Homepage Docs:
        - abbr: HP
          href: https://gethomepage.dev

A weather widget from OpenWeatherMap or WeatherAPI requires your own API key from the provider. The One-Click App includes a commented-out example in settings.yaml.

Display Docker Containers

Homepage can display each service’s container status—that is, whether it is running—as well as its CPU and memory usage. To do this, Homepage needs access to Docker, which you configure in docker.yaml. The One-Click App deliberately does not mount the Docker socket, so you’ll need the manual installation to use this feature.

A Docker Socket Proxy that allows only read requests is safer than direct access to the socket. Add the following under services: in your docker-compose.yml:

Code
  dockerproxy:
    image: ghcr.io/tecnativa/docker-socket-proxy:latest
    container_name: dockerproxy
    restart: unless-stopped
    environment:
      - CONTAINERS=1
      - POST=0
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro

POST=0 blocks all commands that make changes, so Homepage can see containers but cannot start or stop them. Add the proxy to config/docker.yaml and link it to a service:

Code
my-docker:
  host: dockerproxy
  port: 2375
Code
- Media:
    - Jellyfin:
        href: https://media.example.com
        server: my-docker
        container: jellyfin

Then start both containers with docker compose up -d. For container, enter the name shown by docker ps.

Limitations

  • No browser-based editor: You can only change services, widgets, and bookmarks in the YAML files.
  • One password only: The built-in login does not support users with individual permissions. Anyone who knows the password can see the entire dashboard. To give multiple people their own accounts, connect Homepage to an OIDC provider such as authentik.
  • No notifications: Homepage only displays data when you visit the page. If you want to receive a message when something goes down, use a monitoring tool such as Uptime Kuma.
  • Docker integration is only available with the manual installation: The One-Click App does not have access to Docker.
  • Widgets depend on the apps: If an app changes its interface or is unreachable, the tile displays an API error instead of the data.

Conclusion

Homepage brings all your services together on a fast, tidy start page and can show live data from your apps and the status of your containers. The quickest way to get started is with the One-Click App: it’s available over HTTPS in a minute, you enable login through App environment, and add your services to services.yaml. The manual installation with Docker Compose is a good choice if you want to integrate Homepage into an existing server environment or display your Docker containers.

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

No. Homepage is a dashboard—a personal start page with links and live data from your own services. For a website or blog, you could use WordPress, which you can install as a One-Click App, with Docker, or through web hosting.
The One-Click App is quicker: Homepage is available over HTTPS in about a minute, and you can install updates in the ZapX dashboard under App update. Manual installation with Docker Compose is a good choice if you want to integrate Homepage into an existing setup with your own reverse proxy or display the status of your Docker containers, since the One-Click App does not have access to Docker.
Yes, since version 2.0, but it is disabled by default. Enable it with the HOMEPAGE_AUTH_ENABLED, HOMEPAGE_AUTH_PASSWORD, HOMEPAGE_AUTH_SECRET, and HOMEPAGE_EXTERNAL_URL environment variables. For the One-Click App, add them under Custom environment variables in the app’s App environment settings. Homepage supports one shared password, not individual user accounts.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.