Homebox is open-source inventory management software for your home, hobbies, and small workshops. You can add items with photos, receipts, serial numbers, and warranty details, assign them to locations such as “Basement” or “Garage,” and find them later using search or a QR code label. Homebox is now maintained by the sysadminsmedia project, runs as a single container, and stores everything in a SQLite database. As a result, it requires very little memory. In this guide, we’ll show you two ways to install it: the easy way, as a One-Click App, which makes Homebox available over HTTPS in just a few clicks, and a manual installation with Docker Compose. After that, you’ll build your inventory with locations, photos, labels, and QR codes.
Homebox is useful as soon as you no longer want to keep track of what you own and where it is. Homebox is a good fit for a VPS if:
- multiple people in your household need to manage the same inventory, whether from a phone, laptop, or on the go.
- you want to keep receipts and warranties in one place, for example, for home contents insurance or a claim.
- you want to label boxes, shelves, and storage areas and see what’s inside with a QR code.
- you want to keep your data under your control instead of using someone else’s inventory app.
- you want to keep track of maintenance dates for devices such as smoke detectors, heating systems, or tools.
Homebox is less suitable if you’re looking for an inventory management system with stock transactions, suppliers, and invoices. Homebox doesn’t track transactions or support multiple warehouses; it’s designed for your personal belongings. Specialized apps are better for tracking food and supplies with expiration dates.
The fastest way to get started with Homebox is through the One-Click Apps on your VPS. The app is available directly over HTTPS with a domain, and the installation automatically generates the secret key Homebox needs to 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.
- Homebox itself is lightweight: in our test, it used less than 200 MB of RAM with one account and a few initial items. Still, plan for at least 1 GB of RAM and enough storage for photos and documents, as these grow along with your inventory.
- Open your VPS in the ZapX Dashboard and go to the One-Click Apps tab.
- Search the app catalog for Homebox and click Install app.
- Use a custom subdomain or zap.cloud is already selected, with a randomly generated name. Leave it enabled or enter a custom name, such as
inventory. - You don’t need to enter anything under App configuration. All fields are optional:
HBOX_OPTIONS_ALLOW_REGISTRATIONis set tofalse. This prevents anyone from creating an account themselves. The next section explains how to create your first account.HBOX_WEB_MAX_UPLOAD_SIZEis the maximum size of an uploaded file in MB (default10).HBOX_MAILER_HOST,HBOX_MAILER_PORT,HBOX_MAILER_USERNAME,HBOX_MAILER_PASSWORD, andHBOX_MAILER_FROMare the credentials for an SMTP mailbox. Homebox uses them to send password reset emails.HBOX_LOG_LEVELandHBOX_LOG_FORMATcontrol logging output.
- Click Queue installation.
Homebox will be available through the Access link on the app card in a minute or two. On first launch, Homebox creates its database.
The installation generates the secret key Homebox needs to start (HBOX_AUTH_API_KEY_PEPPER, required since version 0.26). You can find it in the app settings under App environment > Automatically generated values as SERVICE_PASSWORD_64_PEPPER. You don’t need to enter anything there. The value stays the same across restarts and updates, which is important because Homebox uses it to secure API keys.
Homebox doesn’t come with a default admin account. Accounts are created through the registration page. Since registration is disabled in the One-Click App for security reasons, the sign-in page initially shows “Registration Disabled.” The reminder “Create your first account” on the app card guides you through the following steps:
- Click the gear icon on the app card and go to App environment.
- Open App configuration, set
HBOX_OPTIONS_ALLOW_REGISTRATIONtotrue, and click Save. Homebox will restart with the new value. - Open Homebox using the Access link. The sign-in page will now have a Register button.
- Enter your email address, a name, and a password, then click Register. Homebox will display “User registered.”
- Sign in with your email address and password. Homebox creates a collection for you, including some sample locations (Attic, Basement, Garage …) and tags.
While HBOX_OPTIONS_ALLOW_REGISTRATION is set to true, anyone who knows the address can create an account on your Homebox instance. Others can’t see your items because each new account gets its own collection. However, they can use your server to store photos and files, and you won’t see these accounts in Homebox. So set the value back to false immediately after registering and click Save.
Invite other people instead of using open registration. Invitations work even when registration is disabled:
- In Homebox, click Invites under Collection on the left and create an invitation. You can set how many times it can be used and when it expires.
- Send the invitation link to the person. They can register through the link and will join your collection.
- Under Collection > Members, you can see who has access to your collection.
In our test, signing up without an invitation wasn’t possible when registration was disabled (“user registration disabled”), but signing up with an invitation worked. The invited person immediately saw all the items in the collection.
Attach photos, user manuals, and receipts directly to an item. Homebox stores them alongside the database in the app’s /data directory. Larger files, such as PDF manuals or full-resolution phone photos, can quickly exceed the 10 MB limit. If that happens, increase HBOX_WEB_MAX_UPLOAD_SIZE under App environment > App configuration, for example, to 25, and click Save.
If you forget your password, Homebox can email you a link through Forgot your password? This only works if you’ve entered the HBOX_MAILER_* values for an SMTP mailbox.
Update Homebox in the app settings (gear icon), under App update. Click Check for updates and install a new version with Apply update. If it says the app is up to date, there isn’t a newer version in the app catalog yet. You can see the installed version at the bottom of every page in Homebox.
All items, accounts, photos, and documents are stored in the app’s /data directory and are preserved during updates. When a new version starts, Homebox automatically updates the database. Back up your VPS beforehand, for example, through Backups in the dashboard, so you can restore it to its previous state if something goes wrong. You can also export your inventory as a CSV file through Tools, but photos and attachments aren’t included.
The rest of this guide describes how to manually install Homebox with Docker Compose on your VPS, for example, if you don’t use One-Click Apps on your server or want to run Homebox behind your own reverse proxy.
- A Linux VPS running Debian or Ubuntu, with SSH access. See First Access via SSH.
- 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.
homebox.example.com).
The values below are recommended guidelines for a household. Homebox itself needs little RAM; your photos and documents will determine how much storage you need.
| Hardware | Minimum | Recommended |
|---|---|---|
| CPU | 1 vCPU core | 1 vCPU core |
| RAM | 1 GB | 2 GB |
| Storage | 5 GB | 20 GB |
Homebox listens on port 7745 (HTTP). You don’t need to open this port if you use a reverse proxy as described below. With ufw, allow only SSH and the ports required by the reverse proxy:
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
Ports published by Docker with ports: are accessible from the internet even if ufw blocks them. Docker adds its own rules before the rules from ufw. So, as described below, bind Homebox to 127.0.0.1 only. See Firewall Management on Linux for more about firewalls.
Since version 0.26, Homebox only starts with a secret HBOX_AUTH_API_KEY_PEPPER that is at least 32 characters long. Homebox uses it to secure stored API keys. Create a directory and write the key directly to the .env file without displaying it:
mkdir -p /opt/homebox
cd /opt/homebox
echo "HBOX_AUTH_API_KEY_PEPPER=$(openssl rand -base64 48 | tr -d '\n')" > .env
echo "HBOX_OPTIONS_ALLOW_REGISTRATION=true" >> .env
chmod 600 .env
Then create the docker-compose.yml file:
services:
homebox:
image: ghcr.io/sysadminsmedia/homebox:0.27.1
restart: unless-stopped
env_file: .env
environment:
- HBOX_LOG_LEVEL=info
- HBOX_LOG_FORMAT=text
- HBOX_WEB_MAX_UPLOAD_SIZE=10
- HBOX_OPTIONS_TRUST_PROXY=true
- HBOX_OPTIONS_ALLOW_ANALYTICS=false
volumes:
- homebox-data:/data
ports:
- "127.0.0.1:7745:7745"
volumes:
homebox-data:
The important lines:
imagesets the version. Pinning a specific version instead of usinglatestensures that updates only happen when you want them to.env_filereads the key and registration setting from.env. Don’t changeHBOX_AUTH_API_KEY_PEPPERlater, or all issued API keys will become invalid.HBOX_OPTIONS_TRUST_PROXY=trueallows Homebox to process the reverse proxy’s headers. According to the documentation, labels and some other features won’t work properly behind a proxy otherwise.volumesstores the database, photos, and documents in thehomebox-datavolume, which is mounted at/datain the container.127.0.0.1:7745:7745makes Homebox accessible only from the server itself. You’ll access it from outside through the reverse proxy.
Start Homebox:
docker compose up -d
docker compose logs -f homebox
Homebox is ready as soon as the log shows “Server is running on :7745.” Stop viewing the logs with Strg + C.
First, set up the reverse proxy in the next section, then open https://homebox.example.com. Click Register and create your account with an email address, name, and password. To test Homebox before setting up the proxy, forward the port to your computer using an SSH tunnel and open http://localhost:7745:
ssh -L 7745:127.0.0.1:7745 root@SERVER_IP
Afterward, disable registration so no one else can create an account. Invite other people as described above under “Invite Housemates”:
cd /opt/homebox
sed -i 's/HBOX_OPTIONS_ALLOW_REGISTRATION=true/HBOX_OPTIONS_ALLOW_REGISTRATION=false/' .env
docker compose up -d
docker compose up -d recreates the container with the updated value. The sign-in page will then show “Registration Disabled.”
To access Homebox from outside, 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 based on the official documentation:
server {
listen 80;
server_name homebox.example.com;
client_max_body_size 25m;
location / {
proxy_pass http://127.0.0.1:7745;
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;
}
}
Then get the certificate with certbot --nginx -d homebox.example.com. Certbot adds HTTPS and HTTP redirection to the block. client_max_body_size must be at least as large as HBOX_WEB_MAX_UPLOAD_SIZE; otherwise, nginx will reject larger photos with a 413 error. You also need HTTPS for the QR scanner in the browser and for copy buttons, which browsers only allow on secure pages.
With Caddy, one line in the Caddyfile is enough: homebox.example.com { reverse_proxy 127.0.0.1:7745 }. Caddy obtains the certificate automatically.
Everything important is stored in the homebox-data volume: the SQLite database homebox.db and a folder for each collection containing photos and documents. Since SQLite initially writes changes to sidecar files, briefly stop Homebox before backing it up:
cd /opt/homebox
docker compose stop
docker run --rm -v homebox_homebox-data:/data -v /opt/homebox:/backup alpine tar czf /backup/homebox-$(date +%F).tar.gz -C /data .
docker compose start
The volume name combines the directory name and the name in the Compose file; here, it’s homebox_homebox-data. Check it with docker volume ls. Also back up .env and docker-compose.yml, and don’t store the backup only on the VPS itself.
Back up your data first and read the new version’s Release Notes. Then update the version for the image in docker-compose.yml and restart Homebox:
cd /opt/homebox
docker compose pull
docker compose up -d
When it starts, Homebox updates the database for the new version. You’ll see lines from goose in the log and “successfully migrated database” at the end. If you’re upgrading from a version before 0.26 and Homebox no longer starts, the HBOX_AUTH_API_KEY_PEPPER key is usually missing. Add it to .env as described above.
Once Homebox is set up, you can start adding your belongings. The interface works in a browser on both computers and phones, so you don’t need a separate app.
Homebox assigns each item to a location. Locations can be nested, for example, “Basement” > “Shelf 2” > “Electrical box.” Create them using Create > Location, or rename the sample locations under Locations. Tags are keywords that can be used across locations, such as “Electronics,” “Insured,” or “Loaned.” Create them using Create > Tag.
Use Create > Item / Asset to add an item: select a location, enter a name and description, and upload a photo if you like. On the item’s page, add more details using Edit:
- Serial number, model, and manufacturer
- Purchase date, retailer, and price; Homebox uses these to calculate the total value shown on the home page
- A warranty expiration date or lifetime warranty
- Attachments such as receipts, user manuals, or warranty certificates
- Custom fields for anything Homebox doesn’t provide by default
Each item automatically gets an asset ID, such as 000-001. Search for #000-001 in the search bar to find it directly.
On each item’s page, you’ll find two icons next to Labels: Download Label downloads a label as an image, and Show QR Code displays a QR code with the item’s address. Print it and stick it on the item or box. Scan the code with your phone to go directly to the relevant page after signing in. The same works for locations, so you can see what’s in a box with one scan. Create multiple labels at once using the label generator under Tools.
If you already have your inventory in a spreadsheet, import it as a CSV file through Tools. According to the documentation, the import includes items, locations, and tags, including nested locations. You’ll need to upload photos and attachments manually afterward; they aren’t included in imports or exports.
Use an item’s Maintenance tab to schedule maintenance, such as the annual battery replacement in a smoke detector. Under Collection > Notifiers, set up a notification service such as Discord, Slack, Telegram, or email in the Shoutrrr format. Homebox will then send you a message on the maintenance date at around 8 a.m.
- No management of other users’ accounts: Homebox has no admin view of all accounts on the server. You can only see members of your own collection, so leave registration disabled.
- Exports don’t include photos: CSV exports don’t include attachments. To create a complete backup, back up the data directory.
- Printing labels directly from Homebox requires a print command to be configured on the server. On a VPS, download labels as images and print them from your own computer instead.
- No stock transaction system: You can track quantities, but not stock additions and removals with a history.
You’ve set up Homebox on your VPS, created your first account, disabled registration again, and invited others to join. With locations, photos, receipts, and QR codes, you can quickly find any item and keep all your documents together for insurance or warranty claims.
Prefer not to handle Docker yourself? Choose the easy One-Click App option described above under “The Easy Way: Homebox as a One-Click App.”
