-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (78 loc) · 1.62 KB
/
docker-compose.yml
File metadata and controls
84 lines (78 loc) · 1.62 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
version: "3.8"
services:
daprfrontend:
image: frontend-dapr-react:latest
build:
context: .
dockerfile: frontend/Dockerfile
ports:
- "8080:8080"
daprfrontend-dapr:
image: "daprio/daprd:latest"
command:
[
"./daprd",
"-app-id",
"daprfrontend",
"-app-port",
"8080",
"-placement-host-address",
"placement:6050",
"--components-path",
"./components",
"--config",
"/components/config.yaml",
]
depends_on:
- daprfrontend
volumes:
- "./components/:/components"
env_file:
- .env
network_mode: "service:daprfrontend"
daprbackend:
image: backend-dapr-flask:latest
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "8000:8000"
env_file:
- backend/.env
daprbackend-dapr:
image: "daprio/daprd:latest"
command:
[
"./daprd",
"-app-id",
"daprbackend",
"-app-port",
"8000",
"-placement-host-address",
"placement:6050",
"--components-path",
"./components",
"--config",
"/components/config.yaml",
]
volumes:
- "./components/:/components"
depends_on:
- daprbackend
env_file:
- .env
network_mode: "service:daprbackend"
zipkin-dapr:
image: openzipkin/zipkin
ports:
- "9411:9411"
command: ["java", "-jar", "zipkin.jar"]
envoy:
image: envoy-dapr:latest
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "10000:10000"
depends_on:
- daprfrontend