-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ services: | |
ports: | ||
- "8080:8080" | ||
networks: | ||
- router_net | ||
- hyperswitch_net | ||
volumes: | ||
- ./config:/local/config | ||
- ./files:/local/bin/files | ||
|
@@ -64,6 +64,21 @@ services: | |
start_period: 5s | ||
timeout: 10s | ||
|
||
hyperswitch-web: | ||
ports: | ||
- "9050:9050" | ||
- "9060:9060" | ||
- "5252:5252" | ||
build: | ||
context: ./docker | ||
dockerfile: web.Dockerfile | ||
Comment on lines
+72
to
+74
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you include the Dockerfile in the PR? |
||
networks: | ||
- hyperswitch_net | ||
environment: | ||
- HYPERSWITCH_SERVER_URL=http://hyperswitch-server:8080 | ||
depends_on: | ||
- hyperswitch-server | ||
|
||
hyperswitch-producer: | ||
image: juspaydotin/hyperswitch-producer:standalone | ||
command: /local/bin/scheduler -f /local/config/docker_compose.toml | ||
|
@@ -81,6 +96,23 @@ services: | |
labels: | ||
logs: "promtail" | ||
|
||
hyperswitch-control-center: | ||
image: juspaydotin/hyperswitch-control-center | ||
ports: | ||
- "9000:9000" | ||
networks: | ||
- hyperswitch_net | ||
Comment on lines
+103
to
+104
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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... |
||
environment: | ||
- apiBaseUrl=http://hyperswitch-server:8080 | ||
- sdkBaseUrl=http://hyperswitch-web:9050 | ||
depends_on: | ||
- hyperswitch-server | ||
- hyperswitch-web | ||
|
||
networks: | ||
hyperswitch_net: | ||
#network configurations here if required | ||
Comment on lines
+112
to
+114
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We already have the network defined at the beginning of the file. |
||
|
||
hyperswitch-consumer: | ||
image: juspaydotin/hyperswitch-consumer:standalone | ||
command: /local/bin/scheduler -f /local/config/docker_compose.toml | ||
|
@@ -332,4 +364,4 @@ services: | |
ulimits: | ||
nofile: | ||
soft: 262144 | ||
hard: 262144 | ||
hard: 262144 |
There was a problem hiding this comment.
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
withrouter_net
everywhere else.