Files
app-catalog-felhom.eu/templates/homebox/docker-compose.yml
T
admin 65a6b1198e
gates / gates (push) Successful in 45s
Security updates batch 3 (felhom.eu R-1306): security_fix steps homebox 0.27.1, mealie v3.29.0, audiobookshelf 2.37.2, bentopdf v2.8.10, uptime-kuma 2.5.7; Homebox (0.26 entities API) and Mealie (generated admin password) fixtures follow the apps
On the operator's yes at the batch-3 STOP (2026-10-27). Each step proven on scratch 9202 by box_walk.py --security.
Evidence: felhom.eu documentation/audits/security-app-updates-2026-10-27/.
2026-10-27 16:42:56 +01:00

56 lines
1.8 KiB
YAML

# Homebox - Home Inventory Management
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (SQLite, file-based)
# RAM: ~50MB (mem_limit: 256M) | Pi-compatible: Yes
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
#
# First-time setup:
# Register on first visit, first user becomes owner.
services:
homebox:
image: ghcr.io/sysadminsmedia/homebox:0.27.1
container_name: homebox
restart: unless-stopped
environment:
# decision 47: the app's own sign-up switch — open until the box closes it after the first admin (after_setup)
- HBOX_OPTIONS_ALLOW_REGISTRATION=${SIGNUP_OPEN:-true}
- HBOX_LOG_LEVEL=info
- HBOX_LOG_FORMAT=text
- HBOX_WEB_MAX_UPLOAD_SIZE=50
- HBOX_AUTH_API_KEY_PEPPER=${HBOX_AUTH_API_KEY_PEPPER}
- TZ=Europe/Budapest
volumes:
- homebox_data:/data
networks:
- traefik-public
deploy:
resources:
limits:
memory: 256M
healthcheck:
# NEM --spider: az HEAD kérést küld, amire a homebox /api/v1/status
# 405-tel válaszol (GET-re viszont 200). A próba emiatt hibázott,
# a konténer unhealthy lett, a Traefik pedig 404-et adott.
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:7745/api/v1/status"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
labels:
- "traefik.enable=true"
- "traefik.http.routers.homebox.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.homebox.entrypoints=websecure"
- "traefik.http.routers.homebox.tls=true"
- "traefik.http.routers.homebox.tls.certresolver=letsencrypt"
- "traefik.http.services.homebox.loadbalancer.server.port=7745"
volumes:
homebox_data:
networks:
traefik-public:
external: true