Heimdall is a lightweight dashboard for your self-hosted web apps. Instead of remembering a dozen addresses, you can create a tile for each app with an icon, color, and link, then open everything from one page. Heimdall recognizes many popular apps by name and automatically sets their icon and color. Some tiles even show live data from the app, such as queues or statistics. You can conveniently set everything up in your browser without needing a configuration file. With a search bar and custom background, Heimdall also works well as your browser’s homepage.
In this guide, we’ll show you two ways to get started: the easy way, using the One-Click App, which makes Heimdall available over HTTPS in about a minute, and a manual installation with Docker Compose. Afterward, you’ll log in and build your dashboard.
Heimdall is worth using as soon as you run more than two or three web apps. Heimdall is a good fit for a VPS if:
- you use many self-hosted apps, such as Nextcloud, Vaultwarden, Jellyfin, or Uptime Kuma, and want a shared homepage for all of them.
- you’d rather manage your dashboard in a browser than in YAML files. You can configure tiles, tags, the search bar, and the background using forms.
- you want to see live data from individual apps on your dashboard without opening each app.
- you want the same homepage everywhere, whether you’re on a PC, laptop, or smartphone.
- you’re looking for a lightweight tool. On our test VPS, Heimdall used around 180 MB of RAM.
Heimdall is less suitable if you want to bring news, weather, and feeds together on one page. Glance is built for that. Heimdall also doesn’t replace monitoring with alerts for outages. For that, use a tool like Uptime Kuma.
You’ll find three dashboards in the app catalog. They each take a different approach:
| Heimdall | Glance | Homepage | |
|---|---|---|---|
| Setup | In the browser using forms | glance.yml file | YAML files such as services.yaml |
| Focus | Tiles linking to your apps, some with live data | Feeds, weather, calendar, and service status | Services with status and API widgets, bookmarks, and server resources |
| Login | Users with their own passwords; the One-Click App also protects Heimdall with a generated login | Login in glance.yml | Optional login using environment variables |
| Data is stored in | SQLite database in the /config folder | Configuration file | Configuration files |
If you want to avoid files and editors, Heimdall is the easiest choice. If you’d rather version your homepage as a file, choose Glance or Homepage.
The quickest way to get Heimdall is through your VPS’s One-Click Apps. With a domain, the app is immediately available over HTTPS and protected by a login from the start. You don’t need a reverse proxy, certificate, or firewall rules.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps for instructions.
- Heimdall itself requires few resources. The container needs just a few hundred MB of RAM and around 1 GB of storage for the image and data.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Search for Heimdall in the app catalog and click Install app.
- Use a custom subdomain or zap.cloud is already selected, with a random name. Leave it selected or enter your own name, such as
startordashboard. - Under App configuration, the variables
SERVICE_USER_HEIMDALLandSERVICE_PASSWORD_HEIMDALLappear under Automatically generated values. These are used to create your Heimdall login during installation. You don’t need to enter anything. - Click Queue installation.
After about a minute, the app card will show Online.
The One-Click App adds a login screen before Heimdall. Without logging in, you can’t access the dashboard or any settings. Your username and password were generated during installation, and the app card indicates this with the Login notice:
- Click the gear icon on the app card and go to App environment.
- Under Automatically generated values,
SERVICE_USER_HEIMDALLcontains the username andSERVICE_PASSWORD_HEIMDALLcontains the password. Click the eye icon to show a value or the icon next to it to copy it. - Open Heimdall using the Access link. Your browser will ask for your username and password. Enter both values.
You’ll then land on an empty dashboard with the message “There are currently no pinned applications”. In the bottom-right corner, you’ll find a toolbar with icons for Users, Application list, Tags list, and Settings. The app manages the login credentials itself, so you can’t change them in the settings. It’s best to save them in your password manager, which will also let your browser remember the login.
During installation, Heimdall itself creates an admin user with no password. That’s not a problem behind the app’s login, since only someone with those credentials can access Heimdall in the first place. Setting a password for admin is useful if you want to create additional users with their own dashboards or add a second login. Here’s how:
- Click the people icon (Users) in the bottom-right corner.
- For the
adminuser, click the pencil icon in the EDIT column. - Enter an email address under Email. The field is required, but Heimdall doesn’t send emails.
- Set a strong password under Password and Confirm Password.
- Leave Allow public access to front turned off. Heimdall will then require a login even for the homepage. If enabled, the dashboard and all its tiles would be visible without logging in.
- Also leave Allow logging in from a specific URL turned off. This option generates a link that anyone can use to log in without a password.
- Click Save.
After logging in to the app, Heimdall will now also show its own login page with your user account. To add more people, go to Users and click ADD. You can also change the admin name when editing the user.
Update Heimdall in the app settings (gear icon) under App update. Click Check for updates, then install a new version using Apply update. If it says the app is up to date, there isn’t a newer version in the app catalog yet.
Tiles, users, and settings are stored in the app’s data volume and are retained during updates. You can also quickly back up your tiles in Heimdall under Settings by clicking EXPORT. See the “Export and Move Tiles” section for more details. Back up the entire VPS using Backups in the dashboard.
The rest of this guide covers the manual installation of Heimdall with Docker Compose on your VPS—for example, if you don’t use One-Click Apps on your server or want to run Heimdall behind your own reverse proxy. We’ll use the image from linuxserver.io, which the One-Click App also uses.
- A Linux VPS running Debian or Ubuntu with SSH access. See First SSH Access.
- Docker and Docker Compose (Compose v2). See Install Docker. Verify the installation with
docker --versionanddocker compose version. - A domain or subdomain whose A record points to your VPS’s IP address (e.g.
heimdall.example.com).
Heimdall is a PHP application with an SQLite database and also runs on small servers. The figures below are estimates for Heimdall alone. If you’re running other software on the server, account for its resource requirements too.
| Hardware | Minimum | Recommended |
|---|---|---|
| CPU | 1 vCPU core | 1 vCPU core |
| RAM | 1 GB | 2 GB |
| Storage | 5 GB | 10 GB |
Heimdall listens on port 80 (HTTP) and 443 (HTTPS with a self-signed certificate) inside the container. In this guide, you’ll access Heimdall only through a reverse proxy, so you don’t need to open either container port. With ufw, allow only SSH and the ports used by the reverse proxy:
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
Ports published by Docker using ports: are accessible externally even if ufw blocks them. Docker adds its own rules before those from ufw. Therefore, bind Heimdall to 127.0.0.1 as described below. For more information, see Managing the Firewall on Linux.
Create a directory for Heimdall:
mkdir -p /opt/heimdall
cd /opt/heimdall
Then create the docker-compose.yml file, for example, using nano docker-compose.yml, and add this content:
services:
heimdall:
image: lscr.io/linuxserver/heimdall:2.8.4
container_name: heimdall
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- ./config:/config
ports:
- "127.0.0.1:8080:80"
Here’s what the important lines do:
image: The Heimdall image from linuxserver.io at a fixed version. This lets you decide when to update.PUIDandPGID: The user and group IDs Heimdall runs under in the container. They’ll own the files in theconfigfolder.TZ: The time zone, for exampleEurope/Berlin../config:/config: This is where the database, uploaded icons and backgrounds, and the container’s nginx configuration are stored. You’ll back up this folder later.127.0.0.1:8080:80: Heimdall is accessible only from the server itself, and externally only through the reverse proxy.
Pull the image and start Heimdall:
docker compose pull
docker compose up -d
docker compose logs -f heimdall
Heimdall is ready when the line [ls.io-init] done. appears in the log. Exit the log view with Ctrl+C.
Until you set up the reverse proxy, access Heimdall through an SSH tunnel. Run this command on your own PC:
ssh -L 8080:127.0.0.1:8080 root@SERVER_IP
Then open http://localhost:8080 in your browser. Unlike the One-Click App, your manual installation doesn’t have a login screen in front of it. So set a password for the admin user right away, following the steps above in “Optional: Set a Password for the Heimdall User,” and leave Allow public access to front turned off. This step is essential here: without a password, anyone with the address could change tiles and settings, set a password for the admin user, and lock you out. Make Heimdall publicly accessible through the reverse proxy only after doing this.
To access Heimdall externally, 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:
server {
listen 80;
server_name heimdall.example.com;
client_max_body_size 10M;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
}
Then get the certificate using certbot --nginx -d heimdall.example.com. Certbot adds HTTPS and the HTTP redirect to the block. The X-Forwarded-Proto header tells Heimdall that the browser is connected over HTTPS. Without it, the page loads without styles because the browser blocks files served over HTTP. client_max_body_size allows larger background images to be uploaded.
According to the project, Heimdall only works on its own domain or subdomain, not in a subdirectory such as example.com/heimdall.
For more tips on securing your server, see Linux Security Tips.
Everything Heimdall stores is in the /opt/heimdall/config folder: the SQLite database www/app.sqlite with tiles, users, and settings; uploaded icons and backgrounds; and the nginx configuration. Briefly stop Heimdall to create a consistent backup:
cd /opt/heimdall
docker compose stop
tar czf heimdall-backup-$(date +%F).tar.gz config docker-compose.yml
docker compose start
Don’t keep the backup only on the VPS itself.
Back up the config folder first. Then enter the new version for the image in docker-compose.yml and restart Heimdall:
cd /opt/heimdall
docker compose pull
docker compose up -d
docker image prune
Available versions are listed on the image’s release page. Your data in the config folder is retained during the update. docker image prune then removes the old image.
Once setup is complete, fill your dashboard with tiles. You can do everything using the toolbar in the bottom-right corner.
- Click the list icon (Application list) in the bottom-right corner, then click ADD. Alternatively, use the “Add an application here” link on the empty dashboard.
- Select an app under Application Type, such as
Nextcloud. Heimdall recognizes hundreds of apps and automatically sets their icon, color, and description. For a website of your choice, leave it set toNone. - Enter the name you want displayed on the tile under Application name.
- Enter the full address under URL, including
https://. For One-Click Apps, use the address from the Access link. - Leave PINNED turned on so the tile appears on the dashboard. Unpinned tiles are only available in the Application list.
- Click SAVE.
To change the order, click the icon with two arrows (Reorder and pin items), then drag the tiles into place.
Heimdall offers so-called Enhanced Apps for some apps. When you select one as the Application Type, the Config (Optional) section appears in the form. Turn on ENABLE and enter the address and either a user with a password or an API key, depending on the app. Use TEST to check the connection. The tile will then show live data, such as queue and download speeds for NZBGet or SABnzbd.
To prevent misuse, Heimdall blocks requests to private addresses such as 127.0.0.1, 10.x.x.x, or 192.168.x.x. The connection will fail with a 403 error. Use the app’s public HTTPS address. Only if Heimdall itself is protected, you can set ALLOW_INTERNAL_REQUESTS=true in the Compose file for a manual installation.
Where possible, create a separate account or an API key with limited permissions for Enhanced Apps instead of using your admin account.
- Tags: Create tags such as
MediaorManagementunder Tags list and assign them to tiles. This lets you group related apps. Choose how Heimdall displays the groups under Settings, using Treat Tags As. The default is Folders. - Search bar: Under Settings, set Homepage Search to Yes and select a Default Search Provider, such as DuckDuckGo. Choose Tiles to search your own tiles.
- Background: Upload your own image under Background Image. Alternatively, Heimdall can generate a pattern using Trianglify.
- Link opens in: Choose whether tiles open in the same tab or a new tab.
With the search bar and background set up, add your Heimdall address as your browser’s homepage.
At the top of Settings, you’ll find EXPORT and IMPORT. EXPORT downloads the HeimdallExport.json file containing all your tiles: their names, addresses, colors, app types, tags, and whether they’re pinned. Users, settings, and Enhanced App credentials aren’t included. Use IMPORT to load the file into a new Heimdall installation, for example, when switching from a manual installation to the One-Click App.
- No monitoring: Heimdall displays links and some values for Enhanced Apps, but doesn’t report outages. Use Uptime Kuma for that.
- Doesn’t protect the apps themselves: The login only protects Heimdall. Each app linked from a tile still needs its own login.
- Live data is available only for certain apps: Not every app in the list is an Enhanced App. For most apps, Heimdall only sets the icon and color.
- No version control: Heimdall saves changes directly to the database. If you want to manage your dashboard as a file, Glance or Homepage may be a better fit.
Heimdall gives you a clear homepage for all your web apps, which you can set up entirely in your browser. The One-Click App is protected by a generated login from the start. With a manual installation, set a password for the admin user as soon as you launch Heimdall. Then create tiles, enable live data for supported apps, and use Heimdall as your browser’s homepage.
Prefer to avoid the Docker setup? Take the easy route with the One-Click App, as described above in “The Easy Way: Heimdall as a One-Click App.”
