Skip to content

Conversation

@stanleegoodspeed
Copy link
Collaborator

Description

This fixes an issue discovered by @devindford where frontend cannot connect to the discounts service. The issue is that the dynamic port mapping was not being respected by the discounts container after the start command was changed during a recent PR. This fixes the issue by re-introducing the override command inside the docker-compose file.

How to test

Pull down locally, start the backend and frontend. Make sure the DISCOUNTS_PORT env var is the same for both frontend and backend.

Checklist

Before you move on, make sure that:

  • No unintended changes are included
  • Spelling is correct
  • There are tests covering new/changed functionality
  • Commits have meaningful names and changes. CR remarks-like commits are squashed.
  • Proper labels assigned. Use WIP label to indicate that state

Copy link
Contributor

@devindford devindford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@stanleegoodspeed stanleegoodspeed merged commit 6be1ed4 into main Dec 13, 2022
@stanleegoodspeed stanleegoodspeed deleted the ccole/discounts-cors-fix branch December 13, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants