mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-07-02 00:08:33 +02:00
upt playbook
This commit is contained in:
20
home-assistant/docker-compose.yaml
Normal file
20
home-assistant/docker-compose.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
homeassistant:
|
||||||
|
container_name: HomeAssistant
|
||||||
|
network_mode: host
|
||||||
|
image: "ghcr.io/home-assistant/home-assistant:latest"
|
||||||
|
volumes:
|
||||||
|
- /share/docker_data/ha/:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /dev/ttyUSB0:/dev/ttyUSB0
|
||||||
|
- /var/log:/logging
|
||||||
|
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
privileged: true
|
||||||
|
|
||||||
|
labels:
|
||||||
|
com.centurylinklabs.watchtower.enable: true
|
||||||
|
com.centurylinklabs.watchtower.lifecycle.post-update: "/config/restore-data.sh"
|
||||||
|
com.centurylinklabs.watchtower.lifecycle.post-check: "/config/restore-data.sh"
|
||||||
|
restart: always
|
Reference in New Issue
Block a user