Skip to content

Commit 98cb56b

Browse files
authored
Merge pull request #4 from ElioDiNino/home-assistant
feat: Home Assistant configuration
2 parents f72575b + 81d1438 commit 98cb56b

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

home-assistant/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
config/

home-assistant/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Home Assistant
2+
3+
Home Assistant is an open-source home automation platform. I use it to manage my smart home devices and services, notably old smartphones running [IP Webcam](https://play.google.com/store/apps/details?id=com.pas.webcam) for security cameras.
4+
5+
## Commands
6+
7+
### Start services
8+
9+
```sh
10+
docker-compose up -d
11+
```
12+
13+
### Stop services
14+
15+
```sh
16+
docker-compose down
17+
```
18+
19+
### Update services
20+
21+
```sh
22+
docker-compose pull
23+
docker-compose up -d
24+
```

home-assistant/docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
services:
2+
homeassistant:
3+
container_name: homeassistant
4+
image: "ghcr.io/home-assistant/home-assistant:stable"
5+
volumes:
6+
- ./config:/config
7+
- /etc/localtime:/etc/localtime:ro
8+
- /run/dbus:/run/dbus:ro
9+
restart: unless-stopped
10+
privileged: true
11+
network_mode: host

0 commit comments

Comments
 (0)