-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (50 loc) · 1012 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
52
53
54
55
version: "3.3"
services:
broker:
image: eclipse-mosquitto
hostname: mosquitto
container_name: mosquitto
expose:
- "1883"
- "9001"
ports:
- "1883:1883"
- "9001:9001"
volumes:
- ./broker/conf/mosquitto.conf:/mosquitto/config/mosquitto.conf
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- 8000:8000
volumes:
- ./backend:/app
producer:
environment:
- PYTHONUNBUFFERED=1
build:
context: ./producer
dockerfile: Dockerfile
volumes:
- ./producer:/app
depends_on:
- broker
consumer:
environment:
- PYTHONUNBUFFERED=1
build:
context: ./consumer
dockerfile: Dockerfile
volumes:
- ./consumer:/app
depends_on:
- broker
frontend:
build:
context: ./frontend-web/dashboard-react
dockerfile: Dockerfile
ports:
- 3000:3000
volumes:
- ./frontend-web/dashboard-react:/app