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

build(docker): add web client and control center services to docker compose setup #4197

Merged
merged 17 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ services:
- HYPERSWITCH_SERVER_URL=${HYPERSWITCH_SERVER_URL:-http://hyperswitch-server:8080}
- HYPERSWITCH_CLIENT_URL=${HYPERSWITCH_CLIENT_URL:-http://localhost:9050}
prasad89 marked this conversation as resolved.
Show resolved Hide resolved
- SELF_SERVER_URL=${SELF_SERVER_URL:-http://localhost:5252}
- SDK_ENV=${SDK_ENV:-local}
- ENV_SDK_URL=${ENV_SDK_URL:-http://localhost:9050/HyperLoader.js}
- ENV_BACKEND_URL=${ENV_BACKEND_URL:-http://localhost:8080}
- ENV_LOGGING_URL=${ENV_LOGGING_URL:-http://localhost:3100}
Copy link
Member

Choose a reason for hiding this comment

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

can you add these variables back?

Copy link
Contributor Author

@prasad89 prasad89 Apr 30, 2024

Choose a reason for hiding this comment

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

Okay, will add it.

I'm getting this errors since morning on hyperswitch-router:standalone

Unable to deserialize `stripe` as `api_models::enums::PayoutConnectors`: Matching variant not found
thread 'main' panicked at crates/router/src/bin/router.rs:14:10:
Unable to construct application configuration: ConfigurationError(Some errors occurred:
Unable to deserialize `stripe` as `api_models::enums::PayoutConnectors`: Matching variant not found)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@lsampras do you have any idea regarding this?

Copy link
Member

Choose a reason for hiding this comment

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

Oh, this seems to be caused by recent changes to the docker_compose.toml file.

I would have suggested checking out to the v1.107.0 tag before running the Docker Compose setup, but since you need to open a PR against the main branch, that isn't an option. You can remove stripe from the payout_connector_list line in the docker_compose.toml file to be able to run the Docker Compose setup, and you need not push the docker_compose.toml change as part of this PR.

Copy link
Contributor Author

@prasad89 prasad89 Apr 30, 2024

Choose a reason for hiding this comment

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

Thanks for the help @SanchithHegde
Also when I'm trying to preview payment from control center UI is authenticating request with beta.hyperswitch.io is that expected?

labels:
logs: "promtail"

Expand Down
2 changes: 1 addition & 1 deletion docker/web.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN npm install concurrently -g

WORKDIR /hyperswitch-web

RUN git clone https://github.com/juspay/hyperswitch-web . --depth 1
RUN git clone https://github.com/juspay/hyperswitch-web --depth 1 .

RUN npm install

Expand Down
Loading