Skip to content

Commit

Permalink
update:envs
Browse files Browse the repository at this point in the history
  • Loading branch information
Orlandoc0107 committed Dec 15, 2024
1 parent 7ba0b8a commit 50efd22
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
6 changes: 3 additions & 3 deletions server/k8s/courses-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ spec:
env:
- name: NODE_ENV
value: "production"
- name: COURSES_SERVICE_HOST
value: "0.0.0.0"
- name: COURSES_SERVICE_PORT
- name: COURSES_MICROSERVICE_HOST
value: "courses"
- name: COURSES_MICROSERVICE_PORT
value: "3002"
- name: JWT_SECRET
value: "${JWT_SECRET}"
Expand Down
18 changes: 6 additions & 12 deletions server/k8s/gateway-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,9 @@ spec:
value: "https://klowhub-824410275969.southamerica-east1.run.app"
- name: JWT_SECRET
value: "${JWT_SECRET}"
- name: USERS_MICROSERVICE_HOST
value: "0.0.0.0"
- name: USERS_SERVICE_PORT
value: "3001"
- name: COURSES_SERVICE_HOST
value: "0.0.0.0"
- name: COURSES_SERVICE_PORT
value: "3002"
- name: UPLOAD_MICROSERVICE_HOST
value: "0.0.0.0"
- name: UPLOAD_SERVICE_PORT
value: "3003"
- name: USERS_MICROSERVICE_URL
value: "http://users:3001"
- name: COURSES_MICROSERVICE_URL
value: "http://courses:3002"
- name: UPLOAD_MICROSERVICE_URL
value: "http://upload:3003"
4 changes: 2 additions & 2 deletions server/k8s/users-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ spec:
env:
- name: NODE_ENV
value: "production"
- name: USERS_SERVICE_PORT
- name: USERS_MICROSERVICE_PORT
value: "3001"
- name: USERS_MICROSERVICE_HOST
value: "0.0.0.0"
value: "users"
- name: JWT_SECRET
value: "${JWT_SECRET}"
- name: SMTP_USER
Expand Down

0 comments on commit 50efd22

Please sign in to comment.