Skip to content

Commit

Permalink
#1102 - Setup deployment for recommendation service
Browse files Browse the repository at this point in the history
  • Loading branch information
Duy Le Van committed Oct 9, 2024
1 parent b090bfd commit 1e0b2da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ YAS_SERVICES_PROMOTION=http://promotion/promotion
YAS_SERVICES_INVENTORY=http://inventory/inventory
YAS_SERVICES_RATING=http://rating/rating
YAS_SERVICES_SAMPLE_DATA=http://sampledata/sampledata
YAS_SERVICES_RECOMMENDATION=http://recommendation/recommendation
SERVER_PORT=80

# Swagger UI
Expand Down
1 change: 1 addition & 0 deletions k8s/charts/yas-configuration/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ applicationConfig:
search: http://search/search
tax: http://tax/tax
sampledata: http://sampledata/sampledata
recommendation: http://recommendation/recommendation

# Gateway config for bff microservices
gatewayRoutesConfig:
Expand Down
3 changes: 3 additions & 0 deletions nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ server {
location /sampledata/ {
proxy_pass http://sampledata;
}
location /recommendation/ {
proxy_pass http://recommendation;
}
}

server {
Expand Down

0 comments on commit 1e0b2da

Please sign in to comment.