This commit is contained in:
Hans Karlinius
2024-11-13 10:20:56 +01:00
parent b63a759260
commit aea890c6ed
3 changed files with 9 additions and 17 deletions
-14
View File
@@ -1,14 +0,0 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile
build_from:
aarch64: "ghcr.io/home-assistant/aarch64-base:3.15"
amd64: "ghcr.io/home-assistant/amd64-base:3.15"
armhf: "ghcr.io/home-assistant/armhf-base:3.15"
armv7: "ghcr.io/home-assistant/armv7-base:3.15"
i386: "ghcr.io/home-assistant/i386-base:3.15"
labels:
org.opencontainers.image.title: "Home Assistant Add-on: Example add-on"
org.opencontainers.image.description: "Example add-on to use as a blueprint for new add-ons."
org.opencontainers.image.source: "https://github.com/home-assistant/addons-example"
org.opencontainers.image.licenses: "Apache License 2.0"
args:
TEMPIO_VERSION: "2021.09.0"
+8 -3
View File
@@ -1,6 +1,6 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
name: Example add-on
version: "1.2.6"
version: "1.2.7"
slug: example
description: Example add-on
url: "https://github.com/home-assistant/addons-example/tree/main/example"
@@ -13,17 +13,22 @@ arch:
init: false
kernel_modules: true
full_access: true
host_network: true
apparmor: false
devices:
- /sys/devices/platform
- /dev
- /dev/mem
privileged:
- NET_ADMIN
- SYS_ADMIN
- SYS_MODULE
- SYS_RAWIO
- SYS_RESOURCE
- SYS_TIME
- SYS_NICE
#devicetree: true
host_dbus: true
usb: true
usbip: true
udev: true
map:
- share:rw
@@ -17,3 +17,4 @@ bashio::log.info "${message:="Hello World..."}"
## Run your program
exec /usr/bin/my_program
exec mount -o remount -t sysfs sysfs /sys