-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
58 lines (53 loc) · 983 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
56
57
58
version: "3.2"
services:
db:
build: ./collector/db
ports:
- "32000:3306"
command: --default-authentication-plugin=mysql_native_password
# environment:
# MYSQL_ROOT_PASSWORD: root
# MYSQL_DATABASE: taurus
# volumes:
# - './collector/db:/docker-entrypoint-initdb.d/'
collector:
build: ./collector
depends_on:
- db
- navigator
tty: true
ports:
- "8081:50051"
volumes:
- './collector:/collector'
links:
- db
- navigator
entrypoint: ./wait-for-it.sh db:3306
navigator:
build: ./navigator
tty: true
ports:
- "50051:50051"
web:
build: ./web
tty: true
ports:
- "8083:50051"
- "8080:80"
- "8443:443"
links:
- collector
trader:
build: ./trader
depends_on:
- collector
- navigator
- web
tty: true
ports:
- "8084:50051"
links:
- collector
- navigator
- web