forked from tesberry/tesberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
executable file
·99 lines (90 loc) · 1.97 KB
/
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: "3"
services:
tesberry-bridge-vehicle:
image: tesberry-bridge
build: ./packages/bridge
restart: always
network_mode: host
volumes:
- ./packages/bridge/db/Model3CAN.dbc:/db/Model3CAN.dbc
- ./packages/bridge/index.py:/index.py
cap_add:
- NET_ADMIN
environment:
- CHANNEL=can0
tesberry-bridge-chassis:
image: tesberry-bridge
build: ./packages/bridge
restart: always
network_mode: host
volumes:
- ./packages/bridge/db/Model3CAN.dbc:/db/Model3CAN.dbc
- ./packages/bridge/index.py:/index.py
cap_add:
- NET_ADMIN
environment:
- CHANNEL=can1
tesberry-ui:
build: ./packages/ui
restart: "no"
network_mode: host
environment:
- PORT=80
mosquitto:
image: eclipse-mosquitto
restart: always
volumes:
- ./config/mosquitto.conf:/mosquitto/config/mosquitto.conf
ports:
- 1883:1883
- 9001:9001
savvycan-mqtt-vehicle:
image: savvycan-mqtt
build: ./packages/savvycan-mqtt
restart: "no"
network_mode: host
cap_add:
- NET_ADMIN
environment:
- CHANNEL=can0
- MQTT_HOST=localhost
- MQTT_PORT=1883
savvycan-mqtt-chassis:
image: savvycan-mqtt
build: ./packages/savvycan-mqtt
restart: "no"
network_mode: host
cap_add:
- NET_ADMIN
environment:
- CHANNEL=can1
- MQTT_HOST=localhost
- MQTT_PORT=1883
carplay:
build: ./packages/carplay
restart: "no"
ports:
- 3001:3001
network_mode: host
privileged: true
cap_add:
- NET_ADMIN
volumes:
- /dev:/dev
nodered:
image: nodered/node-red:latest
restart: always
network_mode: host
volumes:
- ./config/nodered:/data
ports:
- 1880:1880
user: "1000"
portainer:
image: portainer/portainer-ce
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config/portainer/:/data
ports:
- 9000:9000