-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
56 lines (51 loc) · 1.15 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
version: '3.8'
services:
discovery-service:
build:
context: ./discovery-service
container_name: discovery-service
ports:
- "8761:8761"
networks:
- typesmart-net
suggestion-service:
build:
context: ./suggestion-service
container_name: suggestion-service
ports:
- "8081:8081"
depends_on:
- discovery-service
environment:
- EUREKA_CLIENT_SERVICEURL_DEFAULTZONE=http://discovery-service:8761/eureka/
networks:
- typesmart-net
api-gateway:
build:
context: ./api-gateway
container_name: api-gateway
ports:
- "8080:8080"
depends_on:
- discovery-service
- suggestion-service
environment:
- EUREKA_CLIENT_SERVICEURL_DEFAULTZONE=http://discovery-service:8761/eureka/
networks:
- typesmart-net
frontend:
build:
context: ./frontend
args:
REACT_APP_LOG_LEVEL: debug
REACT_APP_API_BASE_URL: http://localhost:8080
container_name: typesmart-frontend
ports:
- "3000:80"
depends_on:
- api-gateway
networks:
- typesmart-net
networks:
typesmart-net:
driver: bridge