-
Notifications
You must be signed in to change notification settings - Fork 0
/
kybfarm-docker-compose.yaml
70 lines (65 loc) · 1.77 KB
/
kybfarm-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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: "3"
services:
config_generator:
container_name: config_generator
build: server/src/config_generator
volumes:
- ./.env:/app/.env
- ./server/homeassistant/config:/app/server/homeassistant/config
- ./server/appdaemon/config:/app/server/appdaemon/config
- ./server/src/config_generator/config_generator.py:/app/server/src/config_generator/config_generator.py
homeassistant:
container_name: homeassistant_kybfarm
image: ghcr.io/home-assistant/home-assistant:stable
volumes:
- ./server/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro # For bluetooth integration
restart: unless-stopped
privileged: true
ports:
- 8123:8123
depends_on:
- config_generator
- influxdb
env_file:
- .env
appdaemon:
container_name: appdaemon_kybfarm
image: acockburn/appdaemon:latest
volumes:
- ./server/appdaemon/config:/conf
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
ports:
- 5050:5050
depends_on:
- config_generator
- homeassistant
env_file:
- .env
influxdb:
container_name: influxdb_kybfarm
image: influxdb:latest
volumes:
- ./server/influxdb/data:/var/lib/influxdb2
- ./server/influxdb/config:/etc/influxdb2
restart: unless-stopped
ports:
- 8086:8086
env_file:
- .env
mqtt:
container_name: mqtt_kybfarm
image: eclipse-mosquitto:latest
volumes:
- ./server/mosquitto/config:/mosquitto/config
- ./server/mosquitto/data:/mosquitto/data
- ./server/mosquitto/log:/mosquitto/log
restart: unless-stopped
ports:
- 1883:1883
depends_on:
- config_generator
env_file:
- .env