-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
61 lines (60 loc) · 1.14 KB
/
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
52
53
54
55
56
57
58
59
60
61
version: "2"
services:
radar:
build: ./radar/
restart: always
env_file: .env
network_mode: host
volumes:
- /etc/localtime:/etc/localtime
logging:
options:
max-size: 1m
pitherm:
build: ./pitherm/
restart: always
env_file: .env
network_mode: host
volumes:
- "/sys/bus/w1/:/sys/bus/w1/"
- type: bind
source: "/sys/class/gpio"
target: "/sys/class/gpio"
read_only: false
privileged: true
volumes:
- /etc/localtime:/etc/localtime
logging:
options:
max-size: 1m
web:
build: ./web/
restart: always
env_file: .env
network_mode: host
ports:
- "80:80"
depends_on:
- radar
- pitherm
volumes:
- /etc/localtime:/etc/localtime
logging:
options:
max-size: 1m
homebridge:
image: oznu/homebridge:raspberry-pi
restart: always
network_mode: host
volumes:
- ./homebridge:/homebridge
- /etc/hostname:/etc/hostname
environment:
- PGID=1000
- PUID=1000
env_file: .env
logging:
options:
max-size: 1m
volumes:
web: