feat(service): add Homebox service (#6116)

This commit is contained in:
howardshand
2025-08-11 05:29:18 -05:00
committed by GitHub
parent 03040d6bc8
commit bee98e02bc
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# documentation: https://github.com/sysadminsmedia/homebox
# slogan: Homebox is the inventory and organization system built for the Home User.
# tags: inventory, home, organize
# logo: svgs/homebox.svg
# port: 7745
services:
homebox:
image: 'ghcr.io/sysadminsmedia/homebox:latest'
environment:
- SERVICE_FQDN_HOMEBOX_7745
- HBOX_OPTIONS_ALLOW_REGISTRATION=${HBOX_OPTIONS_ALLOW_REGISTRATION:-false}
- HBOX_LOG_LEVEL=${HBOX_LOG_LEVEL:-info}
- HBOX_LOG_FORMAT=${HBOX_LOG_FORMAT:-text}
- HBOX_WEB_MAX_UPLOAD_SIZE=${HBOX_WEB_MAX_UPLOAD_SIZE:-10}
- HBOX_MAILER_HOST=${HBOX_MAILER_HOST}
- HBOX_MAILER_PORT=${HBOX_MAILER_PORT:-587}
- HBOX_MAILER_USERNAME=${HBOX_MAILER_USERNAME}
- HBOX_MAILER_PASSWORD=${HBOX_MAILER_PASSWORD}
- HBOX_MAILER_FROM=${HBOX_MAILER_FROM}
volumes:
- 'homebox-data:/data/'
healthcheck:
test: ["CMD", "sh", "-c", "wget --method=GET -qO- http://localhost:7745/api/v1/status > /dev/null || exit 1"]
interval: 30s
timeout: 5s
retries: 10