Adapter service for Homarr dashboard: handles first-boot setup with HaLOS branding and auto-discovers Docker containers for the dashboard.
- First-boot setup: Completes Homarr onboarding, creates admin user, configures theming
- Container auto-discovery: Monitors Docker containers with
homarr.*labels - State persistence: Remembers removed apps, tracks sync status
# Install the Debian package
sudo apt install homarr-container-adapter# Run first-boot setup (usually called by systemd)
homarr-container-adapter setup
# Sync Docker containers with Homarr
homarr-container-adapter sync
# Check adapter status
homarr-container-adapter statusAdd these labels to containers for Homarr visibility:
labels:
homarr.enable: "true"
homarr.name: "My App"
homarr.url: "http://localhost:8080"
homarr.description: "App description"
homarr.icon: "https://example.com/icon.png"
homarr.category: "Tools"Adapter config: /etc/homarr-container-adapter/config.toml
Branding config: /etc/halos-homarr-branding/branding.toml (from halos-homarr-branding package)
# Build debug
cargo build
# Build release
cargo build --release
# Run tests
cargo testThis project uses lefthook for pre-commit hooks to run format and lint checks locally before commits.
Setup:
# Install lefthook (one-time)
brew install lefthook
# Enable hooks in this repo
./run hooks-installWhat it checks:
cargo fmt --check- Code formattingcargo clippy --all-targets --all-features -- -D warnings- Linting
Skip hooks when needed:
git commit --no-verify -m "WIP: message"homarr-container- Homarr dashboard containerhalos-homarr-branding- HaLOS branding configuration
MIT License - Matti Airas