Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docker): Integrate Hyperswitch Web Client and Control Center into Docker Compose Setup #4200

Closed
wants to merge 1 commit into from

Conversation

akshayabee19
Copy link

@akshayabee19 akshayabee19 commented Mar 26, 2024

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

This docker-compose.yml file now includes code for setting up the hyperswitch-web and hyperswitch-control-center services along with the existing hyperswitch-server service. These services are configured to communicate with each other within the hyperswitch_net network, ensuring better isolation and reliability.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@akshayabee19 akshayabee19 requested a review from a team as a code owner March 26, 2024 12:20
@akshayabee19 akshayabee19 changed the title Integrate Hyperswitch Web Client and Control Center into Docker Compose Setup build(docker): Integrate Hyperswitch Web Client and Control Center into Docker Compose Setup Mar 26, 2024
@akshayabee19 akshayabee19 changed the title build(docker): Integrate Hyperswitch Web Client and Control Center into Docker Compose Setup fix(docker): Integrate Hyperswitch Web Client and Control Center into Docker Compose Setup Mar 26, 2024
@@ -51,7 +51,7 @@ services:
ports:
- "8080:8080"
networks:
- router_net
- hyperswitch_net
Copy link
Member

Choose a reason for hiding this comment

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

Please revert this change, and replace hyperswitch_net with router_net everywhere else.

Comment on lines +72 to +74
build:
context: ./docker
dockerfile: web.Dockerfile
Copy link
Member

Choose a reason for hiding this comment

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

Could you include the Dockerfile in the PR?

Comment on lines +112 to +114
networks:
hyperswitch_net:
#network configurations here if required
Copy link
Member

Choose a reason for hiding this comment

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

We already have the network defined at the beginning of the file.

@SanchithHegde SanchithHegde added A-infra Area: Infrastructure C-feature Category: Feature request or enhancement S-waiting-on-author Status: This PR is incomplete or needs to address review comments hiring-challenge labels Mar 26, 2024
Comment on lines +103 to +104
networks:
- hyperswitch_net
Copy link
Member

Choose a reason for hiding this comment

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

this might not be needed since there isn't any inter-service communication happening here...
since all communication happens on the host machine and is initiated by browser

@SanchithHegde
Copy link
Member

Closing this in favor of #4197.

@SanchithHegde SanchithHegde removed the S-waiting-on-author Status: This PR is incomplete or needs to address review comments label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-infra Area: Infrastructure C-feature Category: Feature request or enhancement hiring-challenge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants