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(docker-compose): pass correct configuration values for running SDK demo app (#5012)
Sanchith Hegde91c8af6ef6d7
diff --git a/docker-compose-development.yml b/docker-compose-development.ymlindex 09750ba844..868eeba243 100644--- a/docker-compose-development.yml+++ b/docker-compose-development.yml@@ -25,6 +25,12 @@ services:- POSTGRES_USER=db_user- POSTGRES_PASSWORD=db_pass- POSTGRES_DB=hyperswitch_db+ healthcheck:+ test: ["CMD-SHELL", "pg_isready"]+ interval: 5s+ retries: 3+ start_period: 5s+ timeout: 5sredis-standalone:image: redis:7@@ -32,6 +38,12 @@ services:- router_netports:- "6379:6379"+ healthcheck:+ test: ["CMD-SHELL", "redis-cli ping | grep '^PONG$'"]+ interval: 5s+ retries: 3+ start_period: 5s+ timeout: 5smigration_runner:image: rust:latest@@ -64,6 +76,11 @@ services:environment:- CARGO_HOME=/cargo_cache- CARGO_TARGET_DIR=/cargo_build_cache+ depends_on:+ pg:+ condition: service_healthy+ redis-standalone:+ condition: service_healthylabels:logs: "promtail"healthcheck:diff --git a/docker-compose.yml b/docker-compose.ymlindex c993262e74..d16f946a6e 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -20,6 +20,12 @@ services:- POSTGRES_USER=db_user- POSTGRES_PASSWORD=db_pass- POSTGRES_DB=hyperswitch_db+ healthcheck:+ test: ["CMD-SHELL", "pg_isready"]+ interval: 5s+ retries: 3+ start_period: 5s+ timeout: 5sredis-standalone:image: redis:7@@ -27,6 +33,12 @@ services:- router_netports:- "6379:6379"+ healthcheck:+ test: ["CMD-SHELL", "redis-cli ping | grep '^PONG$'"]+ interval: 5s+ retries: 3+ start_period: 5s+ timeout: 5smigration_runner:image: rust:latest@@ -55,14 +67,19 @@ services:volumes:- ./config:/local/config- ./files:/local/bin/files+ depends_on:+ pg:+ condition: service_healthy+ redis-standalone:+ condition: service_healthylabels:logs: "promtail"healthcheck:test: curl --fail http://localhost:8080/health || exit 1- interval: 10s+ interval: 5sretries: 3start_period: 5s- timeout: 10s+ timeout: 5shyperswitch-producer:image: juspaydotin/hyperswitch-producer:standalone@@ -96,7 +113,7 @@ services:- SCHEDULER_FLOW=consumerdepends_on:hyperswitch-server:- condition: service_started+ condition: service_healthylabels:logs: "promtail"healthcheck:@@ -121,7 +138,7 @@ services:restart: unless-stoppeddepends_on:hyperswitch-server:- condition: service_started+ condition: service_healthylabels:logs: "promtail"@@ -131,21 +148,25 @@ services:- "9050:9050"- "9060:9060"- "5252:5252"+ networks:+ - router_netbuild:context: ./dockerdockerfile: web.Dockerfile+ depends_on:+ hyperswitch-server:+ condition: service_healthyenvironment:- - HYPERSWITCH_PUBLISHABLE_KEY=${HYPERSWITCH_PUBLISHABLE_KEY:-PUBLISHABLE_KEY}- - HYPERSWITCH_SECRET_KEY=${HYPERSWITCH_SECRET_KEY:-SECRET_KEY}- - HYPERSWITCH_SERVER_URL=${HYPERSWITCH_SERVER_URL:-http://hyperswitch-server:8080}- - HYPERSWITCH_CLIENT_URL=${HYPERSWITCH_CLIENT_URL:-http://localhost:9050}- - SELF_SERVER_URL=${SELF_SERVER_URL:-http://localhost:5252}- - SDK_ENV=${SDK_ENV:-local}- - ENV_SDK_URL=${ENV_SDK_URL:-http://localhost:9050}- - ENV_BACKEND_URL=${ENV_BACKEND_URL:-http://localhost:8080}- - ENV_LOGGING_URL=${ENV_LOGGING_URL:-http://localhost:3100}+ - 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+ - SDK_ENV=local+ - ENV_LOGGING_URL=http://localhost:3100labels:- logs: "promtail"+ logs: "promtail"### Control Centerhyperswitch-control-center:@@ -158,7 +179,10 @@ services:volumes:- ./config/dashboard.toml:/tmp/dashboard-config.tomldepends_on:- - hyperswitch-web+ hyperswitch-server:+ condition: service_healthy+ hyperswitch-web:+ condition: service_startedlabels:logs: "promtail"