-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
80 lines (74 loc) · 1.64 KB
/
docker-compose.yml
File metadata and controls
80 lines (74 loc) · 1.64 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
version: '3'
services:
client_build:
image: client
command: echo 'Build completed'
build:
context: ./client
dockerfile: ./Dockerfile
request-creator-server:
image: client
depends_on:
- client_build
command: make run-rs
ports:
- "8081:8081"
volumes:
- ./client/cmd:/usr/src/app/cmd
- ./client/internal:/usr/src/app/internal
request-creator:
image: client
stdin_open: true
tty: true
depends_on:
- client_build
- request-creator-server
- user-service
command: make run-rc
volumes:
- ./client/cmd:/usr/src/app/cmd
- ./client/internal:/usr/src/app/internal
price-display:
image: client
stdin_open: true
tty: true
depends_on:
- client_build
- matching-engine
command: make run-pd
restart: on-failure
volumes:
- ./client/cmd:/usr/src/app/cmd
- ./client/internal:/usr/src/app/internal
user-service:
image: user-service
build:
context: ./user-service
dockerfile: ./Dockerfile
stdin_open: true
tty: true
depends_on:
- redis
command: make run-us
ports:
- "9000:9000"
volumes:
- ./user-service/cmd:/usr/src/app/cmd
- ./user-service/internal:/usr/src/app/internal
redis:
image: redis:7.0-alpine
ports:
- "6397:6397"
command: redis-server
matching-engine:
image: matching-engine
build:
context: .
dockerfile: ./matching-engine/Dockerfile
stdin_open: true
tty: true
command: /bin/grpc-server
ports:
- "10000:10000"
volumes:
- ./matching-engine/src:/usr/src/matching-engine/src