forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomeassistant.yml
57 lines (56 loc) · 1.77 KB
/
homeassistant.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Home Assistant Core - Home Automation
# Added temporarily since HASS.io (Home Assistant Supervised) on Docker has been deprecated.
homeassistant:
container_name: hass-core
restart: unless-stopped
image: homeassistant/home-assistant:2021.1.5
network_mode: host
# networks:
# - t2_proxy
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/ttyACM0:/dev/ttyACM0
privileged: true
volumes:
- $USERDIR/docker/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
#- /media/ssd/motioneye:/media/motioneye
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
labels:
## Exclude From Watchtower
- "com.centurylinklabs.watchtower.enable=false"
# Home Assistant Core - Home Automation
# If you want Home Assistant, use the one above. This is was old setup. I am still migrating things from this one to Home Assistant Core Above.
# Added temporarily since HASS.io (Home Assistant Supervised) on Docker has been deprecated.
hassio:
container_name: hassio
restart: unless-stopped
image: homeassistant/home-assistant:0.111.0
networks:
- t2_proxy
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/ttyACM0:/dev/ttyACM0
ports:
- target: 8123
published: $HOMEASSISTANT_PORT
protocol: tcp
mode: host
privileged: true
volumes:
- $USERDIR/docker/hassio/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- $USERDIR/docker/shared:/shared
- $USERDIR/docker/open-zwave:/open-zwave
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
labels:
## Exclude From Watchtower
- "com.centurylinklabs.watchtower.enable=false"