File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,39 @@ services:
123
123
labels :
124
124
logs : " promtail"
125
125
126
+ # ## Web Client
127
+ hyperswitch-web :
128
+ ports :
129
+ - " 9050:9050"
130
+ - " 9060:9060"
131
+ - " 5252:5252"
132
+ build :
133
+ context : ./docker
134
+ dockerfile : web.Dockerfile
135
+ environment :
136
+ - HYPERSWITCH_PUBLISHABLE_KEY=$HYPERSWITCH_PUBLISHABLE_KEY
137
+ - HYPERSWITCH_SECRET_KEY=$HYPERSWITCH_SECRET_KEY
138
+ - HYPERSWITCH_SERVER_URL=${HYPERSWITCH_SERVER_URL:-http://hyperswitch-server:8080}
139
+ - HYPERSWITCH_CLIENT_URL=${HYPERSWITCH_CLIENT_URL:-http://localhost:9050}
140
+ - SELF_SERVER_URL=${SELF_SERVER_URL:-http://localhost:5252}
141
+ - SDK_ENV=${SDK_ENV:-local}
142
+ - ENV_SDK_URL=${ENV_SDK_URL:-http://localhost:9050}
143
+ - ENV_BACKEND_URL=${ENV_BACKEND_URL:-http://localhost:8080}
144
+ - ENV_LOGGING_URL=${ENV_LOGGING_URL:-http://localhost:3100}
145
+ labels :
146
+ logs : " promtail"
147
+
148
+ # ## Control Center
149
+ hyperswitch-control-center :
150
+ image : juspaydotin/hyperswitch-control-center:latest
151
+ ports :
152
+ - " 9000:9000"
153
+ environment :
154
+ - apiBaseUrl=http://localhost:8080
155
+ - sdkBaseUrl=http://localhost:9050/HyperLoader.js
156
+ labels :
157
+ logs : " promtail"
158
+
126
159
# ## Clustered Redis setup
127
160
redis-cluster :
128
161
image : redis:7
Original file line number Diff line number Diff line change
1
+ FROM node:lts
2
+
3
+ RUN npm install concurrently -g
4
+
5
+ WORKDIR /hyperswitch-web
6
+
7
+ RUN git clone https://github.com/juspay/hyperswitch-web --depth 1 .
8
+
9
+ RUN npm install
10
+
11
+ EXPOSE 9050
12
+ EXPOSE 5252
13
+ EXPOSE 9060
14
+
15
+ CMD concurrently "npm run re:build && npm run start" "npm run start:playground"
You can’t perform that action at this time.
0 commit comments