This is a docker-compose configuration to run home automation and bridge services on a Synology NAS, allowing you to connect non-HomeKit devices to Apple Home.
| Service | Description |
|---|---|
| Homebridge | Connects non-HomeKit Smart Home devices to Apple HomeKit. |
| Matterbridge | A bridge that exposes non-Matter devices to HomeKit via the Matter protocol. |
| Scrypted | High-performance video integration for cameras into HomeKit (HKSV). |
- Synology NAS (DSM 7.x recommended)
- Git installed via SynoCommunity
- Docker / Container Manager
- Docker Compose
- Clone the project:
git clone https://gitlab.com/thinkonezero/homekit-docker-standup.git
- Environment Configuration:
- Copy
sample.envto.env. - Update
SYNOLOGY_BASE_DOCKER_PATHto your docker root (e.g.,/volume1/docker). - Set your
PUIDandPGID(runidvia SSH).
- Copy
- Deploy:
docker-compose up -d
Note: These services run in
hostnetwork mode for better device discovery.
| App | Default URL |
|---|---|
| Homebridge | http://<NAS_IP>:${HOMEBRIDGE_UI_PORT} |
| Matterbridge | http://<NAS_IP>:8283 |
| Scrypted | https://<NAS_IP>:10443 |
Common variables used across services:
PUID/PGID: Local user/group IDs.TZ: Your timezone (e.g.,Europe/London).LOG_FILE_NUM/SIZE: Settings for Docker log rotation.
If this project has helped you, please consider supporting my work!
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY.