migrate
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
<< service_name >>:
|
||||
container_name: << container_name >>
|
||||
image: ghcr.io/home-assistant/home-assistant:2026.4.4
|
||||
network_mode: host
|
||||
environment:
|
||||
- TZ=<< container_timezone >>
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /run/dbus:/run/dbus:ro
|
||||
# devices:
|
||||
# - /dev/ttyACMO # (optional) Add serial devices to the container
|
||||
privileged: true
|
||||
restart: << restart_policy >>
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"slug": "homeassistant",
|
||||
"kind": "compose",
|
||||
"metadata": {
|
||||
"name": "Homeassistant",
|
||||
"description": "Open-source smart home automation platform that puts local control and privacy first. Supports thousands of devices and integrations.",
|
||||
"tags": [],
|
||||
"icon": {
|
||||
"provider": "selfhst",
|
||||
"id": "home-assistant"
|
||||
},
|
||||
"draft": false,
|
||||
"version": {
|
||||
"name": "2026.4.4",
|
||||
"source_dep_name": "ghcr.io/home-assistant/home-assistant",
|
||||
"source_dep_version": "2026.4.4"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"title": "General",
|
||||
"name": "general",
|
||||
"items": [
|
||||
{
|
||||
"name": "container_name",
|
||||
"type": "str",
|
||||
"title": "Container Name",
|
||||
"required": false,
|
||||
"default": "homeassistant",
|
||||
"config": {
|
||||
"placeholder": "homeassistant"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "restart_policy",
|
||||
"type": "enum",
|
||||
"title": "Restart Policy",
|
||||
"required": false,
|
||||
"default": "unless-stopped",
|
||||
"config": {
|
||||
"options": [
|
||||
"unless-stopped",
|
||||
"always",
|
||||
"on-failure",
|
||||
"no"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "service_name",
|
||||
"type": "str",
|
||||
"title": "Service Name",
|
||||
"required": false,
|
||||
"default": "homeassistant",
|
||||
"config": {
|
||||
"placeholder": "homeassistant"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "container_timezone",
|
||||
"type": "str",
|
||||
"title": "Container Timezone",
|
||||
"required": false,
|
||||
"default": "UTC",
|
||||
"config": {
|
||||
"placeholder": "UTC"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user