-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (51 loc) · 1020 Bytes
/
docker-compose.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
version: "3.4"
services:
nido-api:
build:
context: .
target: nido-api
depends_on:
- nido-supervisor
restart: always
ports:
- "80:80"
environment:
- NIDOD_RPC_HOST=nido-supervisor
- NIDOD_MQTT_HOSTNAME=mosquitto
nido-supervisor:
build:
context: .
target: nido-supervisor
depends_on:
- mosquitto
restart: always
environment:
- NIDOD_MQTT_HOSTNAME=mosquitto
privileged: true
volumes:
- ./instance:/app/instance
- ./logs:/app/log
mosquitto:
build:
context: .
target: nido-mqtt
user: "USER:GROUP"
restart: always
ports:
- "1883:1883"
volumes:
- ./logs:/mosquitto/log
- ./instance:/mosquitto/data
homebridge:
image: oznu/homebridge:arm32v6
depends_on:
- nido-api
restart: always
network_mode: host
environment:
- PUID=USER
- PGID=GROUP
volumes:
- ./homebridge:/homebridge
environment:
- TZ=UTC