Skip to content

Commit bbe7cbe

Browse files
committed
PEER-254: Update env vars
1 parent db71923 commit bbe7cbe

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.env.local

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ COLLAB_EXPRESS_DB_PORT=5434
1010
MATCHING_PGDATA="/data/collab-db"
1111
MATCHING_EXPRESS_DB_PORT=5434
1212

13-
USER_SERVICE_NAME=user-express
13+
USER_CONTAINER_NAME=user-express
1414
USER_EXPRESS_ENV=compose
1515
USER_EXPRESS_PORT=9001
1616

17-
QUESTION_SERVICE_NAME=question-service
17+
QUESTION_CONTAINER_NAME=question-express
1818
QUESTION_EXPRESS_ENV=compose
1919
QUESTION_EXPRESS_PORT=9002
2020

21-
COLLAB_SERVICE_NAME=collab-service
21+
COLLAB_CONTAINER_NAME=collab-express
2222
COLLAB_EXPRESS_ENV=compose
2323
COLLAB_EXPRESS_PORT=9003
2424

frontend/.env.compose

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
FRONTEND_ENV=compose
2-
3-
# VITE_USER_SERVICE=http://user-service:9001
4-
# VITE_QUESTION_SERVICE=http://question-service:9002
5-
6-
# FRONTEND_PORT=3000
1+
FRONTEND_ENV=compose

frontend/nginx.conf.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ server {
1717
}
1818

1919
location /question-service/ {
20-
rewrite ^/question-service(/.*)$ $1 break;
20+
rewrite ^/question-service(/.*)$ $1 break;
2121
proxy_pass ${VITE_QUESTION_SERVICE};
2222
proxy_set_header Host $host;
2323
proxy_set_header X-Real-IP $remote_addr;

0 commit comments

Comments
 (0)