Skip to content

Commit 4ebffb7

Browse files
committed
Add image naming to docker-compose.yml
1 parent 12aef0a commit 4ebffb7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ services:
44
container_name: api-gateway
55
build:
66
context: ./ApiGatewayService
7+
image: api-gateway-image
78
ports:
89
- "3001:3001"
910

1011
auth-service:
1112
container_name: auth-service
1213
build:
1314
context: ./AuthService
15+
image: auth-service-image
1416
# ports:
1517
# - "3001:3001"
1618

1719
matching-service:
1820
container_name: matching-service
1921
build:
2022
context: ./MatchingService
23+
image: matching-service-image
2124
ports:
2225
- "3005:3005"
2326
stdin_open: true
@@ -26,19 +29,22 @@ services:
2629
container_name: question-service
2730
build:
2831
context: ./QuestionService
32+
image: question-service-image
2933
# ports:
3034
# - "3001:3001"
3135

3236
user-service:
3337
container_name: user-service
3438
build:
3539
context: ./UserService
40+
image: user-service-image
3641
# ports:
3742
# - "3001:3001"
3843

3944
frontend:
4045
container_name: frontend
4146
build:
4247
context: ./frontend
48+
image: frontend-image
4349
ports:
4450
- "3000:3000"

0 commit comments

Comments
 (0)