-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
88 lines (83 loc) · 1.99 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
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
version: "3.8"
services:
llserver-ecui:
container_name: llserver-ecui
build:
context: ${CONFIG_DIR}
dockerfile: ./Dockerfile-llserver-ecui-debug
args:
CONFIG_DIR: ${CONFIG_DIR}
restart: always
depends_on:
- web-ecui
- influxdb
ports:
- "5001:5001/udp"
volumes:
- ${CONFIG_DIR}:/home/config_ecui
- /dev:/dev
- /lib/modules:/lib/modules
- ${CONFIG_DIR}/../llserver_ecui_houbolt:/home/llserver_ecui_houbolt
environment:
ECUI_CONFIG_PATH: /home/config_ecui
privileged: true
cap_add:
- ALL
networks:
ecui_network:
ipv4_address: 192.168.100.5
web-ecui:
container_name: web-ecui
build:
context: ${CONFIG_DIR}
dockerfile: ./Dockerfile-web-ecui-debug
args:
CONFIG_DIR: ${CONFIG_DIR}
restart: always
depends_on:
- grafana
ports:
- "80:80"
- "5555:5555"
volumes:
- ${CONFIG_DIR}:/home/config_ecui
- ${CONFIG_DIR}/../web_ecui_houbolt:/home/web_ecui_houbolt
- /var/run/docker.sock:/var/run/docker.sock
environment:
ECUI_CONFIG_PATH: /home/config_ecui
networks:
ecui_network:
ipv4_address: 192.168.100.4
influxdb:
container_name: influxdb
image: influxdb:1.8
restart: always
ports:
- "9999:8086"
volumes:
- ${CONFIG_DIR}/influx/config:/etc/influxdb
- ${CONFIG_DIR}/influx/influxdb:/root/.influxdb
networks:
ecui_network:
ipv4_address: 192.168.100.2
grafana:
container_name: grafana
image: grafana/grafana-oss:8.3.0
user: "1000"
restart: always
depends_on:
- influxdb
ports:
- "3000:3000"
volumes:
- ${CONFIG_DIR}/grafana/data:/var/lib/grafana
- ${CONFIG_DIR}/grafana/config/:/etc/grafana/
networks:
ecui_network:
ipv4_address: 192.168.100.3
networks:
ecui_network:
ipam:
config:
- subnet: 192.168.100.0/24
gateway: 192.168.100.1