diff --git a/docker-compose.yml b/docker-compose.yml index e55008f1e34e..f483c8054e91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 + 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 + 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 + 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 \ No newline at end of file + hard: 262144