Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Install Homebridge on Docker

NorthernMan54 edited this pageOct 11, 2025 ·30 revisions

This guide provides step-by-step instructions to show you how to install Homebridge on Docker as a service so it will automatically start on boot.

Prerequisites

Before you get started, make sure you have the following ready:

  • A Linux host withDocker installed or a NAS that supports Docker.
  • Homebridgedoes not work when running in Docker for Mac or Docker for Windows due tothis andthis.

Synology, Unraid, or QNAP NAS Users:

Portainer Users:

Firewalla Gold and Purple Users:

Install Homebridge

TheHomebridge Docker image supportsamd64,arm32v6 andarm64v8 host architectures. The correct image for your system will automatically be downloaded.

Step 1: Ensure Docker Compose is installed

Docker Compose is the easiest way to start and maintain your Homebridge Docker image. Make sure you have the latest version of thedocker-compose command installed on your system.

Seehttps://docs.docker.com/compose/install/ for instructions.

Step 2: Create Docker Compose Manifest

After ensuring Docker Compose is installed create a new file nameddocker-compose.yml that contains the following:

version:'2'services:homebridge:image:homebridge/homebridge:latestrestart:alwaysnetwork_mode:hostvolumes:      -./volumes/homebridge:/homebridgelogging:driver:json-fileoptions:max-size:"10mb"max-file:"1"

For more details on the environment options see thehomebridge/docker-homebridge project page.

Step 3: Start Homebridge

Run the following command to start the Homebridge Docker container:

docker-compose up -d

Complete: Login to the Homebridge UI

TheHomebridge UI web interface will allow you to install, remove and update plugins, and modify the Homebridge config.json and manage other aspects of your Homebridge service.

Login to the web interface by going tohttp://<ip address of your server>:8581.

To find the IP address of your server you can run:

hostname -I

Review theConfiguration Reference at the bottom of this guide.

Major Node.js Version Updates

To upgrade Node.js you will need to download the latest version of the Docker image. This can be done using the following commands:

# run these commands from the same directory you created the docker-compose.yml file indocker-compose pulldocker-compose up -d

After running these commands your Homebridge Docker container will automatically restart if there was an update available.

Configuration Reference

This table contains important information about your setup. You can use the information provided here as a reference when configuring or troubleshooting your environment after setting up Homebridge using the instructions below.

File Location / Command
Config File Path/homebridge/config.json (inside container)
Storage Path/homebridge (inside container)
Restart Commanddocker restart homebridge
Stop Commanddocker stop homebridge
Start Commanddocker start homebridge
View Logs Commanddocker logs -f homebridge

Installation

Homebridge Help

Homebridge UI Help

Versioning

Plugins

Developers

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp