Skip to content

Commit

Permalink
Change services URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyfrs committed May 18, 2024
1 parent 9557ccd commit c653a09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ services:
- DB_USERNAME=selforder
- DB_PASSWORD=self@Order123!
- ADMIN_ACCESS_TOKEN=token
- STOCK_SERVICE_URL=http://localhost:8081
- PAYMENTS_SERVICE_URL=http://localhost:8082
ports:
- "8080:8080"
restart: always
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ admin:

clients:
stock-api:
url: http://localhost:8081
url: ${STOCK_SERVICE_URL}
payments-api:
url: http://localhost:8082
url: ${PAYMENTS_SERVICE_URL}

0 comments on commit c653a09

Please sign in to comment.