Просмотр исходного кода

Merge pull request #91 from ChristianLempa/84-add-home-assistant-compose-template

home assistant update
Christian Lempa 2 лет назад
Родитель
Сommit
85a1bc92fc
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      docker-compose/homeassistant/docker-compose.yaml

+ 12 - 0
docker-compose/homeassistant/docker-compose.yaml

@@ -0,0 +1,12 @@
+---
+services:
+  homeassistant:
+    container_name: homeassistant
+    image: "ghcr.io/home-assistant/home-assistant:2023.6"
+    volumes:
+      - ./config:/config
+      - /etc/localtime:/etc/localtime:ro
+    # devices:
+    #   - /dev/ttyACMO  # (optional) Add serial devices to the container
+    privileged: true
+    restart: unless-stopped