-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (57 loc) · 1.06 KB
/
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
59
60
61
62
version: '3.8'
services:
legacy-api:
build:
context: ./legacy-api
dockerfile: Dockerfile
expose:
- "3001"
environment:
- PORT=3001
- HOST=0.0.0.0
networks:
- app-network
grpc-service:
build:
context: .
dockerfile: grpc-service/Dockerfile
expose:
- "50051"
environment:
- PORT=50051
- HOST=0.0.0.0
networks:
- app-network
gateway-api:
build:
context: .
dockerfile: gateway-api/Dockerfile
ports:
- "3000:3000"
environment:
- PORT=3000
- GRPC_SERVICE_HOST=grpc-service
- GRPC_SERVICE_PORT=50051
- LEGACY_API_HOST=legacy-api
- LEGACY_API_PORT=3001
networks:
- app-network
depends_on:
- grpc-service
- legacy-api
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3002:3000"
environment:
- HOST=0.0.0.0
- PORT=3000
networks:
- app-network
depends_on:
- gateway-api
networks:
app-network:
driver: bridge