> ## Documentation Index
> Fetch the complete documentation index at: https://blog.onetsolutions.net/llms.txt
> Use this file to discover all available pages before exploring further.

# HomeBox: a self-hosted home inventory on your VPS

> Run HomeBox on a VPS: a self-hosted inventory of your belongings, with photos, warranties and purchase dates. Step-by-step Docker Compose setup, OnetSolutions.

![HomeBox: the dashboard, showing the total inventory value, recently added items and storage locations](https://mintcdn.com/onetsolutions-blog/brHYmlzgK-Y1HmMV/images/2026/11/homebox.png?fit=max\&auto=format\&n=brHYmlzgK-Y1HmMV\&q=85\&s=58431fe1efd94b7358f9d09ad6af7e4e)

*Published on November 23, 2026*

Where is the drill, when does the washing machine warranty run out, what is everything in the house worth: HomeBox, running on a VPS, answers those questions from any browser.

## What HomeBox does for you

* **Organize** every item into a location, with tags and custom fields.
* **Find** any item in seconds with the search.
* **Keep** photos, receipts and warranties next to the item they belong to.
* **Track** purchase dates and prices, and the maintenance schedule of your equipment.
* **Browse** your inventory from a desktop, a tablet or a phone.

## At a glance

| | |
| - | - |
| License | AGPL-3.0 |
| Language | Go |
| Latest release | v0.27.1, released October 23, 2026 |
| GitHub stars | 7,945 as of November 23, 2026 |
| Minimum resources | Under 50 MB of idle RAM for the whole container, per the README; CPU and disk not specified |
| Repository | [github.com/sysadminsmedia/homebox](https://github.com/sysadminsmedia/homebox) |

## Install HomeBox on your VPS

Prerequisites: a Linux VPS with [Docker](https://help.onetsolutions.net/tutorials/how-to-install-docker) and its Compose plugin, and a domain name pointing to its IP address.

HomeBox is a single container. Data lives in a SQLite database, and the web interface is built into the binary.

Create the service directory:

```bash theme={null}
# Service directory
sudo mkdir -p /opt/homebox
cd /opt/homebox
```

HomeBox requires a secret, the "pepper", which protects stored API keys. This command generates it with `openssl`, as the README shows, and writes it to a `.env` file readable by root only:

```bash theme={null}
# Secret of at least 32 bytes, read by Docker Compose at startup
echo "HBOX_AUTH_API_KEY_PEPPER=$(openssl rand -base64 48)" | sudo tee .env > /dev/null
sudo chmod 600 .env
```

Keep that file. The pepper must stay the same across restarts: changing it invalidates every API key already issued.

This `compose.yaml` file follows the example from the official documentation. The image is pinned to version 0.27.1, and the port is published on the VPS itself only:

```yaml theme={null}
# /opt/homebox/compose.yaml
services:
  homebox:
    image: ghcr.io/sysadminsmedia/homebox:0.27.1
    restart: always
    environment:
      - HBOX_LOG_LEVEL=info
      - HBOX_LOG_FORMAT=text
      # Anonymous statistics sent to the project: off
      - HBOX_OPTIONS_ALLOW_ANALYTICS=false
      # Secret read from the .env file
      - HBOX_AUTH_API_KEY_PEPPER=${HBOX_AUTH_API_KEY_PEPPER}
      # Required behind a reverse proxy
      - HBOX_OPTIONS_TRUST_PROXY=true
    volumes:
      - homebox-data:/data/
    ports:
      # Web interface: VPS only
      - "127.0.0.1:3100:7745"

volumes:
  homebox-data:
    driver: local
```

Start the container:

```bash theme={null}
sudo docker compose up -d
```

> [!NOTE]
>
> Usage statistics are off by default. HomeBox needs no account with its publisher: everything stays on your VPS.

## First steps

1. **Create your account.** From your workstation, open an SSH tunnel to the VPS, then browse to `http://127.0.0.1:3100`:

   ```bash theme={null}
   ssh -L 3100:127.0.0.1:3100 user@vps-ip
   ```

   Register the first user, then log in with that account.

2. **Close registration.** Once your accounts exist, add this line to the `environment` section of `compose.yaml`:

   ```yaml theme={null}
   - HBOX_OPTIONS_ALLOW_REGISTRATION=false
   ```

   Then apply the change:

   ```bash theme={null}
   sudo docker compose up -d
   ```

3. **Add your locations and items.** Start with rooms or furniture, then attach items to them, with a photo and the receipt when you have it.

> [!TIP]
>
> To let someone in your household see the same items as you, generate an invite link under **Profile**, in the **User Profile** section. A user who signs up any other way only sees their own items.

## Check that it works

From the VPS, show the container status. The image ships with a health check:

```bash theme={null}
sudo docker compose ps
```

After a few seconds, the `STATUS` column shows `Up` followed by `(healthy)`.

Then query the status API, the one that health check uses:

```bash theme={null}
curl -s http://127.0.0.1:3100/api/v1/status
```

The JSON response contains `"health":true`. Once registration is closed, it also contains `"allowRegistration":false`.

## Secure access

The `compose.yaml` above publishes HomeBox on `127.0.0.1` only: nothing is reachable from the Internet until a reverse proxy forwards it.

To reach it from your phone, put Nginx in front of HomeBox over HTTPS. This configuration follows the official documentation's example, with the port Docker publishes. Get a certificate first, for example with [Certbot](https://certbot.eff.org):

```nginx theme={null}
# /etc/nginx/sites-available/homebox
server {
    listen 443 ssl http2;
    server_name homebox.example.org;

    ssl_certificate /etc/letsencrypt/live/homebox.example.org/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/homebox.example.org/privkey.pem;

    location / {
        proxy_pass http://127.0.0.1:3100;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_read_timeout 86400;
    }
}
```

The `HBOX_OPTIONS_TRUST_PROXY=true` variable, already in `compose.yaml`, is required by the documentation behind a proxy: without it, labels and other features may not work properly.

With registration closed, only the accounts you created or invited can log in.

> [!TIP]
>
> The [console firewall](https://help.onetsolutions.net/vps/firewall) adds a second barrier: allow inbound SSH and HTTPS (port 443) only.

## Limits and alternatives

HomeBox is built for a household or personal inventory, not for managing a company's IT fleet. To share one inventory, each member has to sign up through your invite link.

| Alternative | Difference |
| - | - |
| [Snipe-IT](https://snipeitapp.com) | IT asset management for companies: hardware, licenses, assignments to employees. |
| [InvenTree](https://inventree.org) | Stock management focused on parts and components, for workshops and small-scale production. |
| [Grocy](https://grocy.info) | Household management centered on groceries, food stock and chores. |

## Going further

* [HomeBox official documentation](https://homebox.software/en/): [quick start](https://homebox.software/en/quick-start/), [installation](https://homebox.software/en/quick-start/install/), [configuration](https://homebox.software/en/quick-start/configure/) and [reverse proxy](https://homebox.software/en/quick-start/configure/proxy/)
* [Install Docker](https://help.onetsolutions.net/tutorials/how-to-install-docker) on your VPS
* [Back up your VPS](https://help.onetsolutions.net/vps/backup): your inventory and its photos copied every night
* [AdGuard Home: block ads and trackers](https://blog.onetsolutions.net/en/adguard-home-vps-private-dns-block-ads-trackers.md): another service to host on the same VPS

No VPS at OnetSolutions yet? [Pick yours](https://onetsolutions.net) and run HomeBox in a few minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.