-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
85 lines (74 loc) · 1.76 KB
/
docker-compose.yml
File metadata and controls
85 lines (74 loc) · 1.76 KB
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
services:
mosquitto:
image: eclipse-mosquitto:latest
container_name: inference_broker
ports:
- "1883:1883"
volumes:
- ./inference_service/mosquitto/config:/mosquitto/config:ro
networks:
- pump_network
restart: unless-stopped
influxdb:
image: influxdb:2.8
container_name: pump_influxdb_monitor
ports:
- "8087:8086"
env_file: ./monitoring_service/.env
volumes:
- monitor_influx_data:/var/lib/influxdb2
networks:
- pump_network
inference_engine:
build: ./inference_service
container_name: inference_engine
depends_on:
- mosquitto
volumes:
- ./inference_service/src:/app/src
- ./inference_service/models:/app/models
- ./inference_service/data:/app/data
env_file: ./inference_service/.env
networks:
- pump_network
restart: on-failure
monitoring_service:
build: ./monitoring_service
container_name: pump_monitoring_service
ports:
- "8080:8080"
depends_on:
- influxdb
env_file: ./monitoring_service/.env
networks:
- pump_network
restart: unless-stopped
pump_simulator:
build: ./pump_fleet_simulator
container_name: fleet_simulator
depends_on:
- mosquitto
env_file: ./pump_fleet_simulator/.env
networks:
- pump_network
restart: unless-stopped
frontend:
build: ./frontend
container_name: pdm_dashboard_local
ports:
- "3001:3000"
volumes:
- ./frontend/src:/app/src
- ./frontend/public:/app/public
environment:
- WDS_SOCKET_PORT=3001
- CHOKIDAR_USEPOLLING=true
stdin_open: true
tty: true
networks:
- pump_network
networks:
pump_network:
driver: bridge
volumes:
monitor_influx_data: