-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
docker-compose.yaml
executable file
·36 lines (36 loc) · 1.06 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
# 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:2022.6.2
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
devices:
- ${HOME_ASSISTANT_ZWAVE_DEV}:/dev/ttyACM0
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