forked from macbury/SmartHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·47 lines (47 loc) · 1.32 KB
/
docker-compose.yaml
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
# Main home assistant docker compose services thingy, fuck i need a coffee, my engrish soo bad
version: '3.5'
services:
home-assistant:
image: homeassistant/home-assistant:0.102.1
extra_hosts:
- "outside:${HOME_ASSISTANT_IP}"
env_file:
- '.env.home-assistant'
- '.env.influxdb'
- '.env.local'
restart: unless-stopped
cap_add:
- net_bind_service
privileged: true
network_mode: host
environment:
- TZ=Europe/Warsaw
- HOME_ASSISTANT_DB_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:4101/${POSTGRES_DB}
volumes:
- ./home-assistant:/config
- /var/log/fail2ban.log:/fail2ban/fail2ban.log:ro
- /tmp:/tmp
devices:
- ${HOME_ASSISTANT_ZWAVE_DEV}:/dev/ttyACM0
# logging:
# driver: gelf
# options:
# tag: homeassistant
# gelf-address: udp://localhost:12201
appdaemon:
image: acockburn/appdaemon:latest
restart: unless-stopped
network_mode: host
env_file:
- '.env.home-assistant'
environment:
- HA_URL=http://localhost:8123
- TOKEN=${HOME_ASSISTANT_API_PASSWORD}
- DASH_URL=http://localhost:15050
volumes:
- ./appdaemon:/conf
# logging:
# driver: gelf
# options:
# tag: appdaemon
# gelf-address: udp://localhost:12201