Skip to content

Commit 896e0bb

Browse files
committed
Remove external access to API
1 parent afbc043 commit 896e0bb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docker-compose.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,20 @@ services:
22
frontend:
33
build:
44
context: ./frontend
5-
ports:
6-
- $FRONTEND_PORT:$FRONTEND_PORT
75
depends_on:
86
- question-service
97
- user-service
108

119
question-service:
1210
build:
1311
context: ./question-service
14-
ports:
15-
- $QUESTION_SVC_PORT:$QUESTION_SVC_PORT
1612
environment:
1713
- PORT=$QUESTION_SVC_PORT
1814
- DB_URI=$QUESTION_SVC_DB_URI
1915

2016
user-service:
2117
build:
2218
context: ./user-service
23-
ports:
24-
- $USER_SVC_PORT:$USER_SVC_PORT
2519
environment:
2620
- PORT=$USER_SVC_PORT
2721
- DB_URI=$USER_SVC_DB_URI
@@ -32,8 +26,6 @@ services:
3226
matching-service:
3327
build:
3428
context: ./matching-service
35-
ports:
36-
- $MATCHING_SVC_PORT:$MATCHING_SVC_PORT
3729
environment:
3830
- PORT=$MATCHING_SVC_PORT
3931

@@ -58,5 +50,3 @@ services:
5850
redis:
5951
image: redis:7.4-alpine
6052
restart: always
61-
ports:
62-
- 6379:6379

0 commit comments

Comments
 (0)