-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
92 lines (84 loc) · 2.05 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
92 lines (84 loc) · 2.05 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
85
86
87
88
89
90
91
92
version: '3.3'
services:
api_gateway:
build:
context: ./api
dockerfile: Dockerfile
image: api_gateway
container_name: api_gateway_container
ports:
- "8000:8000"
# environment:
# - MARKET_PERF_HOST=market_performance_container
networks:
- microservices
# market_performance:
# build:
# context: ./app/microservices/market-performance
# dockerfile: Dockerfile
# image: market_performance
# container_name: market_performance_container
# ports:
# - "50053:50053"
# networks:
# - microservices
# question_analysis:
# build:
# context: ./app/microservices/question-analysis
# dockerfile: Dockerfile
# image: question_analysis
# container_name: question_analysis_container
# ports:
# - "50055:50055"
# networks:
# - microservices
market_analysis:
build:
context: ./app/microservices/market-analysis
dockerfile: Dockerfile
image: market_analysis
container_name: market_analysis_container
ports:
- "50053:50053"
networks:
- microservices
yelp_reviews:
build:
context: ./app/microservices/yelp-reviews
dockerfile: Dockerfile
image: yelp_reviews
container_name: yelp_reviews_container
ports:
- "5005:5005"
networks:
- microservices
question_analysis:
build:
context: ./app/microservices/question-analysis
dockerfile: Dockerfile
image: question_analysis
container_name: question_analysis_container
ports:
- "8080:8080"
networks:
- microservices
nginx_gateway:
image: nginx:latest
container_name: nginx_gateway_container
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./tls.crt:/etc/nginx/tls.crt
- ./tls.key:/etc/nginx/tls.key
- ./static:/usr/share/nginx/swagger
depends_on:
- api_gateway
- yelp_reviews
- market_analysis
- question_analysis
networks:
- microservices
networks:
microservices: