Install
There are two main ways to run Homebox.
- As a Docker container
- Using the correct executable for your platform by downloading it from the releases page
Docker
Section titled “Docker”The following instructions assume you have Docker installed on your machine.
The official image is ghcr.io/sysadminsmedia/homebox:latest. For each image there are three tags, respectively the regular
tag, the $tag-rootless and $tag-hardened. The rootless tag is a regular image but with the user homebox created.
The hardened tag is a distroless image and contains no shells or utilities.
Docker Run
Section titled “Docker Run”Great for testing the application, but not recommended for production deployments. Check out the docker compose example below for a production deployment.
# Run the containerdocker run -d --name homebox --restart unless-stopped \--pupblish 3100:7745 --env HBOX_OPTIONS_ALLOW_ANALYTICS=false \--volume /path/to/data/folder:/data \ghcr.io/sysadminsmedia/homebox:latest# When using rootless you must ensure the data folder has the correct permissionsmkdir -p /path/to/data/folderchown 65532:65532 -R /path/to/data/folder# --------# Run the containerdocker run -d --name homebox --restart unless-stopped \--publish 3100:7745 --env HBOX_OPTIONS_ALLOW_ANALYTICS=false \--volume /path/to/data/folder:/data \ghcr.io/sysadminsmedia/homebox:latest-rootless# When using hardened you must ensure the data folder has the correct permissionsmkdir -p /path/to/data/folderchown 65532:65532 -R /path/to/data/folder# --------# Run the containerdocker run -d --name homebox --restart unless-stopped \--publish 3100:7745 --env HBOX_OPTIONS_ALLOW_ANALYTICS=false \--volume /path/to/data/folder:/data \ghcr.io/sysadminsmedia/homebox:latest-hardenedDocker Compose
Section titled “Docker Compose”- Create a
compose.ymlfile with the following contents:
services: homebox: image: ghcr.io/sysadminsmedia/homebox:latest restart: always environment: - HBOX_LOG_LEVEL=info - HBOX_LOG_FORMAT=text - HBOX_WEB_MAX_UPLOAD_SIZE=10 # Please consider allowing analytics to help us improve Homebox (basic computer information, no personal data) - HBOX_OPTIONS_ALLOW_ANALYTICS=false volumes: - homebox-data:/data/ ports: - 3100:7745
volumes: homebox-data: driver: localservices: homebox: image: ghcr.io/sysadminsmedia/homebox:latest-rootless restart: always environment: - HBOX_LOG_LEVEL=info - HBOX_LOG_FORMAT=text - HBOX_WEB_MAX_UPLOAD_SIZE=10 # Please consider allowing analytics to help us improve Homebox (basic computer information, no personal data) - HBOX_OPTIONS_ALLOW_ANALYTICS=false volumes: - homebox-data:/data/ ports: - 3100:7745
volumes: homebox-data: driver: localservices: homebox: image: ghcr.io/sysadminsmedia/homebox:latest-hardened restart: always environment: - HBOX_LOG_LEVEL=info - HBOX_LOG_FORMAT=text - HBOX_WEB_MAX_UPLOAD_SIZE=10 # Please consider allowing analytics to help us improve Homebox (basic computer information, no personal data) - HBOX_OPTIONS_ALLOW_ANALYTICS=false volumes: - homebox-data:/data/ ports: - 3100:7745
volumes: homebox-data: driver: local- While in the same directory as the
compose.ymlfile, rundocker compose up -dto start the container. - Navigate to
http://server.local.ip.address:3100to access the Homebox web interface. (Replace with the correct IP address)
Binaries
Section titled “Binaries”We supply a wide range of binaries for different platforms and CPU architectures.
Windows
Section titled “Windows”- Download the latest version from the releases page.
- Extract the archive and run
homebox.exe. - The web interface will be available at
http://localhost:7745by default. Access the page by navigating tohttp://server.local.ip.address:7745/(replace with the right ip address)
- Download the latest version from the releases page. (Use
homebox_Darwin_x86_64.tar.gzfor Intel-based Macs andhomebox_Darwin_arm64.tar.gzfor Apple Silicon) - Extract the archive and run
./homeboxfrom a terminal. - The web interface will be available at
http://localhost:7745by default. Access the page by navigating tohttp://server.local.ip.address:7745/(replace with the right ip address)
- Download the latest version from the releases page.
- Extract the archive and run
./homeboxfrom a terminal. - The web interface will be available at
http://localhost:7745by default. Access the page by navigating tohttp://server.local.ip.address:7745/(replace with the right ip address)