Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
chore: add hyperswitch-react-demo-app to docker-compose (#7841)
Pritish Budhirajad9a67aa144a9
diff --git a/docker-compose.yml b/docker-compose.ymlindex ca8434cf05..cc58c38e88 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -11,7 +11,12 @@ services:prestart-hook:image: curlimages/curl-base:latestcontainer_name: prestart-hook- entrypoint: ["/bin/sh", "-c", "apk add --no-cache bash && /bin/bash /prestart_hook.sh"]+ entrypoint:+ [+ "/bin/sh",+ "-c",+ "apk add --no-cache bash && /bin/bash /prestart_hook.sh",+ ]volumes:- ./scripts/prestart_hook.sh:/prestart_hook.shnetworks:@@ -60,7 +65,7 @@ services:environment:# format -> postgresql://DB_USER:DB_PASSWORD@HOST:PORT/DATABASE_NAME- DATABASE_URL=postgresql://db_user:db_pass@pg:5432/hyperswitch_db-+mailhog:image: mailhog/mailhognetworks:@@ -100,13 +105,18 @@ services:container_name: poststart-hookdepends_on:hyperswitch-server:- condition: service_healthy # Ensures it only starts when `hyperswitch-server` is healthy- entrypoint: ["/bin/sh", "-c", "apk add --no-cache bash jq && /bin/bash /poststart_hook.sh"]+ condition: service_healthy # Ensures it only starts when `hyperswitch-server` is healthy+ entrypoint:+ [+ "/bin/sh",+ "-c",+ "apk add --no-cache bash jq && /bin/bash /poststart_hook.sh",+ ]volumes:- ./scripts/poststart_hook.sh:/poststart_hook.shnetworks:- - router_net-+ - router_net+hyperswitch-producer:image: docker.juspay.io/juspaydotin/hyperswitch-producer:standalonepull_policy: always@@ -174,20 +184,13 @@ services:pull_policy: alwaysports:- "9050:9050"- - "9060:9060"- - "5252:5252"networks:- router_netdepends_on:hyperswitch-server:condition: service_healthyenvironment:- - HYPERSWITCH_PUBLISHABLE_KEY=placeholder_publishable_key- - HYPERSWITCH_SECRET_KEY=placeholder_api_key- - HYPERSWITCH_SERVER_URL=http://localhost:8080- - HYPERSWITCH_SERVER_URL_FOR_DEMO_APP=http://hyperswitch-server:8080- - HYPERSWITCH_CLIENT_URL=http://localhost:9050- - SELF_SERVER_URL=http://localhost:5252+ - ENABLE_LOGGING=true- SDK_ENV=local- ENV_LOGGING_URL=http://localhost:3103- ENV_BACKEND_URL=http://localhost:8080@@ -442,3 +445,25 @@ services:volumes:- ./config/vector.yaml:/etc/vector/vector.yaml- /var/run/docker.sock:/var/run/docker.sock++ hyperswitch-demo:+ image: docker.juspay.io/juspaydotin/hyperswitch-react-demo-app:latest+ pull_policy: always+ ports:+ - "9060:9060"+ - "5252:5252"+ networks:+ - router_net+ depends_on:+ hyperswitch-server:+ condition: service_healthy+ hyperswitch-web:+ condition: service_healthy+ environment:+ - HYPERSWITCH_PUBLISHABLE_KEY=placeholder_publishable_key+ - HYPERSWITCH_SECRET_KEY=placeholder_api_key+ - PROFILE_ID=placeholder_profile_id+ - HYPERSWITCH_CLIENT_URL=http://localhost:9050+ - HYPERSWITCH_SERVER_URL=http://localhost:8080+ labels:+ logs: "promtail"