diff --git a/.gitignore b/.gitignore index 1d74e21..8256f9b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .vscode/ + +data/ diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..59dd9ca --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,13 @@ +services: + homeassistant: + container_name: homeassistant + image: "ghcr.io/home-assistant/home-assistant:stable" + volumes: + - ./data/config:/config + - /etc/localtime:/etc/localtime:ro + - /run/dbus:/run/dbus:ro + restart: unless-stopped + privileged: true + network_mode: host + environment: + TZ: Europe/Berlin