-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose-service.yml
More file actions
128 lines (115 loc) · 2.46 KB
/
docker-compose-service.yml
File metadata and controls
128 lines (115 loc) · 2.46 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# docker-compose-service.yml
services:
eureka:
ports:
- "19090:19090"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./eureka
environment:
- SPRING_PROFILES_ACTIVE=prod
networks:
- codeterian-network
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/eureka
gateway:
ports:
- "19091:19091"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./gateway
environment:
- SPRING_PROFILES_ACTIVE=prod
networks:
- codeterian-network
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/gateway
depends_on:
- eureka
user:
ports:
- "19097:19097"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./user
environment:
- SPRING_PROFILES_ACTIVE=prod
networks:
- codeterian-network
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/user
depends_on:
- eureka
order:
ports:
- "19095:19095"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./order
environment:
- SPRING_PROFILES_ACTIVE=prod
networks:
- codeterian-network
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/order
depends_on:
- eureka
performance:
ports:
- "19093:19093"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./performance
environment:
- SPRING_PROFILES_ACTIVE=prod
networks:
- codeterian-network
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/performance
depends_on:
- eureka
ticket:
ports:
- "19094:19094"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./ticket
environment:
- SPRING_PROFILES_ACTIVE=prod
networks:
- codeterian-network
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/ticket
depends_on:
- eureka
payment:
ports:
- "19096:19096"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./payment
environment:
- SPRING_PROFILES_ACTIVE=prod
networks:
- codeterian-network
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/payment
depends_on:
- eureka
queue:
ports:
- "19099:19099"
build:
dockerfile: Dockerfile
args:
- FILE_DIRECTORY=./queue
networks:
- codeterian-network
environment:
- SPRING_PROFILES_ACTIVE=prod
image: ${ECR_REGISTRY}/${ECR_NAMESPACE}/queue
depends_on:
- eureka
networks:
codeterian-network:
external: true