Browse Source

Test a new homebridge container with bluetooth support (#214)

Robert Middleswarth 3 years ago
parent
commit
b177be44a9
2 changed files with 100 additions and 2 deletions
  1. 50 1
      template/portainer-v2-arm32.json
  2. 50 1
      template/portainer-v2-arm64.json

+ 50 - 1
template/portainer-v2-arm32.json

@@ -1659,7 +1659,7 @@
 			"note": "Bringing HomeKit support where there is none",
 			"platform": "linux",
 			"privileged": true,
-			"restart_policy": "always",
+			"restart_policy": "unless-stopped",
 			"title": "Homebridge",
 			"type": 1,
 			"volumes": [
@@ -1669,6 +1669,55 @@
 				}
 			]
 		},
+		{
+			"categories": [
+				"HomeAutomation"
+			],
+			"description": "Homebridge with Bluetooth allows you to integrate with smart home devices that do not natively support HomeKit. There are over 2,000 Homebridge plugins supporting thousands of different smart accessories.",
+			"env": [
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				},
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1",
+					"label": "HOMEBRIDGE_CONFIG_UI",
+					"name": "HOMEBRIDGE_CONFIG_UI"
+				},
+				{
+					"default": "8581",
+					"label": "HOMEBRIDGE_CONFIG_UI_PORT",
+					"name": "HOMEBRIDGE_CONFIG_UI_PORT"
+				},
+				{
+					"default": "America/New_York",
+					"label": "TZ",
+					"name": "TZ"
+				}
+			],
+			"image": "bitkill/homebridge-bluetooth:latest",
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/homebridge.png",
+			"name": "homebridge-bluetooth",
+			"network": "host",
+			"note": "Bringing HomeKit support where there is none",
+			"platform": "linux",
+			"privileged": true,
+			"restart_policy": "unless-stopped",
+			"title": "Homebridge with Bluetooth",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/portainer/Files/AppData/Config/homebridge-bluetooth",
+					"container": "/homebridge"
+				}
+			]
+		},
 		{
 			"categories": [
 				"Other",

+ 50 - 1
template/portainer-v2-arm64.json

@@ -1759,7 +1759,7 @@
 			"note": "Bringing HomeKit support where there is none",
 			"platform": "linux",
 			"privileged": true,
-			"restart_policy": "always",
+			"restart_policy": "unless-stopped",
 			"title": "Homebridge",
 			"type": 1,
 			"volumes": [
@@ -1769,6 +1769,55 @@
 				}
 			]
 		},
+		{
+			"categories": [
+				"HomeAutomation"
+			],
+			"description": "Homebridge with Bluetooth allows you to integrate with smart home devices that do not natively support HomeKit. There are over 2,000 Homebridge plugins supporting thousands of different smart accessories.",
+			"env": [
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				},
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1",
+					"label": "HOMEBRIDGE_CONFIG_UI",
+					"name": "HOMEBRIDGE_CONFIG_UI"
+				},
+				{
+					"default": "8581",
+					"label": "HOMEBRIDGE_CONFIG_UI_PORT",
+					"name": "HOMEBRIDGE_CONFIG_UI_PORT"
+				},
+				{
+					"default": "America/New_York",
+					"label": "TZ",
+					"name": "TZ"
+				}
+			],
+			"image": "bitkill/homebridge-bluetooth:latest",
+			"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/homebridge.png",
+			"name": "homebridge-bluetooth",
+			"network": "host",
+			"note": "Bringing HomeKit support where there is none",
+			"platform": "linux",
+			"privileged": true,
+			"restart_policy": "unless-stopped",
+			"title": "Homebridge with Bluetooth",
+			"type": 1,
+			"volumes": [
+				{
+					"bind": "/portainer/Files/AppData/Config/homebridge-bluetooth",
+					"container": "/homebridge"
+				}
+			]
+		},
 		{
 			"categories": [
 				"Other",