From 3592e2b46fd08d8a50140075d1aabc4bea08e975 Mon Sep 17 00:00:00 2001 From: Vyacheslav Scherbinin Date: Mon, 21 Apr 2025 11:02:04 +0700 Subject: [PATCH] Homebridge template (#77) * feat: homebridge * Update blueprints/homebridge/docker-compose.yml --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> --- blueprints/homebridge/docker-compose.yml | 14 ++++++++++++++ blueprints/homebridge/homebridge.svg | 1 + blueprints/homebridge/template.toml | 11 +++++++++++ meta.json | 19 +++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 blueprints/homebridge/docker-compose.yml create mode 100644 blueprints/homebridge/homebridge.svg create mode 100644 blueprints/homebridge/template.toml diff --git a/blueprints/homebridge/docker-compose.yml b/blueprints/homebridge/docker-compose.yml new file mode 100644 index 0000000..d8aba2a --- /dev/null +++ b/blueprints/homebridge/docker-compose.yml @@ -0,0 +1,14 @@ +services: + homebridge: + image: homebridge/homebridge:latest + restart: always + ports: + - 8581 + volumes: + - ./volumes/homebridge:/homebridge + healthcheck: + test: ["CMD", "curl", "-f", "http://homebridge:8581/"] + interval: 60s + retries: 5 + start_period: 300s + timeout: 2s diff --git a/blueprints/homebridge/homebridge.svg b/blueprints/homebridge/homebridge.svg new file mode 100644 index 0000000..36b1347 --- /dev/null +++ b/blueprints/homebridge/homebridge.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/blueprints/homebridge/template.toml b/blueprints/homebridge/template.toml new file mode 100644 index 0000000..30eb109 --- /dev/null +++ b/blueprints/homebridge/template.toml @@ -0,0 +1,11 @@ +[variables] +main_domain = "${domain}" + +[config] +env = [] +mounts = [] + +[[config.domains]] +serviceName = "homebridge" +port = 8581 +host = "${main_domain}" diff --git a/meta.json b/meta.json index 8d927d1..81d03e6 100644 --- a/meta.json +++ b/meta.json @@ -2155,6 +2155,25 @@ }, "tags": ["network"] }, + { + "id": "homebridge", + "name": "Homebridge", + "version": "latest", + "description": "Bringing HomeKit support where there is none. Homebridge allows you to integrate with smart home devices that do not natively support HomeKit.", + "logo": "homebridge.svg", + "links": { + "github": "https://github.com/homebridge/homebridge", + "website": "https://homebridge.io/", + "docs": "https://github.com/homebridge/homebridge/wiki" + }, + "tags": [ + "iot", + "homekit", + "internet-of-things", + "self-hosted", + "server" + ] + }, { "id": "tooljet", "name": "Tooljet",