@govuk-pay/cli 0.0.55 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/resources/legacy-ruby-cli/README.md +5 -74
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/doctor.rb +0 -85
- package/resources/legacy-ruby-cli/lib/pay_cli/config.rb +1 -23
- package/resources/legacy-ruby-cli/lib/pay_cli/entry_point.rb +4 -21
- package/resources/legacy-ruby-cli/.rspec +0 -1
- package/resources/legacy-ruby-cli/config/generate-secrets.yml +0 -9
- package/resources/legacy-ruby-cli/config/secrets.yml +0 -682
- package/resources/legacy-ruby-cli/config/service_secrets.yml +0 -203
- package/resources/legacy-ruby-cli/lib/pay_cli/aws/services.rb +0 -47
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/aws.rb +0 -29
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/browse.rb +0 -31
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/app_client.rb +0 -216
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/config.rb +0 -142
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/config.yaml +0 -198
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/docker.rb +0 -66
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/all.yaml +0 -847
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/card.yaml +0 -491
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/custom.yaml +0 -71
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/docker-compose.erb +0 -395
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/end-to-end.erb +0 -30
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/java.yaml +0 -456
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/localstack/init-aws.sh +0 -70
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/naxsi/readme.md +0 -1
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/postgres/docker-entrypoint-initdb.d/make_payments_databases.sql +0 -26
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/adminusers.env +0 -49
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/cardid.env +0 -2
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/connector.env +0 -70
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/demo-service.env +0 -10
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/egress/squid.conf +0 -47
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/frontend.env +0 -12
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/java_app.env +0 -1
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ledger.env +0 -7
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/products-ui.env +0 -14
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/products.env +0 -25
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/publicapi.env +0 -13
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/publicauth.env +0 -13
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/selfservice.env +0 -21
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/certs/frontend-proxy.crt +0 -18
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/certs/products-ui-proxy.crt +0 -20
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/certs/publicapi-proxy.crt +0 -18
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/certs/selfservice-proxy.crt +0 -20
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/certs/stubs-proxy.crt +0 -18
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/keys/frontend-proxy.key +0 -28
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/keys/products-ui-proxy.key +0 -28
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/keys/publicapi-proxy.key +0 -28
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/keys/selfservice-proxy.key +0 -28
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/keys/stubs-proxy.key +0 -28
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/ssl/make-selfsigned.sh +0 -2
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/stubs.env +0 -12
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/toolbox.env +0 -5
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/services/webhooks.env +0 -9
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/files/toolbox.yaml +0 -473
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local/image_extractor.rb +0 -20
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/local.rb +0 -451
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/secrets.rb +0 -114
- package/resources/legacy-ruby-cli/lib/pay_cli/commands/tunnel/services.yml +0 -49
- package/resources/legacy-ruby-cli/lib/pay_cli/naming.rb +0 -6
- package/resources/legacy-ruby-cli/lib/pay_cli/secrets.rb +0 -281
- package/resources/legacy-ruby-cli/package-lock.json +0 -6
- package/resources/legacy-ruby-cli/rds_access/connect.sh +0 -175
- package/resources/legacy-ruby-cli/spec/.rubocop.yml +0 -2
- package/resources/legacy-ruby-cli/spec/fixtures/dockerfile_examples/Dockerfile.complex +0 -34
- package/resources/legacy-ruby-cli/spec/fixtures/dockerfile_examples/Dockerfile.complex_differing_froms +0 -33
- package/resources/legacy-ruby-cli/spec/fixtures/dockerfile_examples/Dockerfile.no_from +0 -3
- package/resources/legacy-ruby-cli/spec/fixtures/dockerfile_examples/Dockerfile.simple +0 -5
- package/resources/legacy-ruby-cli/spec/fixtures/dockerfile_examples/Dockerfile.simple_no_tag +0 -5
- package/resources/legacy-ruby-cli/spec/fixtures/dockerfile_examples/Dockerfile.with_sha +0 -5
- package/resources/legacy-ruby-cli/spec/fixtures/dockerfile_examples/Dockerfile.with_sha_no_tag +0 -5
- package/resources/legacy-ruby-cli/spec/lib/pay_cli/commands/local/image_extractor_spec.rb +0 -55
- package/resources/legacy-ruby-cli/spec/naming_spec.rb +0 -19
- package/resources/legacy-ruby-cli/spec/spec_helper.rb +0 -106
|
@@ -1,847 +0,0 @@
|
|
|
1
|
-
services:
|
|
2
|
-
|
|
3
|
-
adminusers_db:
|
|
4
|
-
image: postgres:15.6
|
|
5
|
-
environment:
|
|
6
|
-
- BIND_HOST=0.0.0.0
|
|
7
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
8
|
-
mem_limit: 250M
|
|
9
|
-
logging:
|
|
10
|
-
driver: "json-file"
|
|
11
|
-
container_name: adminusers_db
|
|
12
|
-
healthcheck:
|
|
13
|
-
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
|
|
14
|
-
interval: 10s
|
|
15
|
-
timeout: 5s
|
|
16
|
-
retries: 5
|
|
17
|
-
volumes:
|
|
18
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
19
|
-
ports:
|
|
20
|
-
- "19700:5432"
|
|
21
|
-
networks:
|
|
22
|
-
- pay_local_mimic_aws_vpc
|
|
23
|
-
|
|
24
|
-
connector_db:
|
|
25
|
-
image: postgres:15.6
|
|
26
|
-
environment:
|
|
27
|
-
- BIND_HOST=0.0.0.0
|
|
28
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
29
|
-
mem_limit: 250M
|
|
30
|
-
logging:
|
|
31
|
-
driver: "json-file"
|
|
32
|
-
container_name: connector_db
|
|
33
|
-
healthcheck:
|
|
34
|
-
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
|
|
35
|
-
interval: 10s
|
|
36
|
-
timeout: 5s
|
|
37
|
-
retries: 5
|
|
38
|
-
volumes:
|
|
39
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
40
|
-
ports:
|
|
41
|
-
- "19300:5432"
|
|
42
|
-
networks:
|
|
43
|
-
- pay_local_mimic_aws_vpc
|
|
44
|
-
|
|
45
|
-
publicauth_db:
|
|
46
|
-
image: postgres:15.6
|
|
47
|
-
environment:
|
|
48
|
-
- BIND_HOST=0.0.0.0
|
|
49
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
50
|
-
mem_limit: 250M
|
|
51
|
-
logging:
|
|
52
|
-
driver: "json-file"
|
|
53
|
-
container_name: publicauth_db
|
|
54
|
-
healthcheck:
|
|
55
|
-
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
|
|
56
|
-
interval: 10s
|
|
57
|
-
timeout: 5s
|
|
58
|
-
retries: 5
|
|
59
|
-
volumes:
|
|
60
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
61
|
-
ports:
|
|
62
|
-
- "19600:5432"
|
|
63
|
-
networks:
|
|
64
|
-
- pay_local_mimic_aws_vpc
|
|
65
|
-
|
|
66
|
-
products_db:
|
|
67
|
-
image: postgres:15.6
|
|
68
|
-
environment:
|
|
69
|
-
- BIND_HOST=0.0.0.0
|
|
70
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
71
|
-
mem_limit: 250M
|
|
72
|
-
logging:
|
|
73
|
-
driver: "json-file"
|
|
74
|
-
container_name: products_db
|
|
75
|
-
healthcheck:
|
|
76
|
-
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
|
|
77
|
-
interval: 10s
|
|
78
|
-
timeout: 5s
|
|
79
|
-
retries: 5
|
|
80
|
-
volumes:
|
|
81
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
82
|
-
ports:
|
|
83
|
-
- "19800:5432"
|
|
84
|
-
networks:
|
|
85
|
-
- pay_local_mimic_aws_vpc
|
|
86
|
-
|
|
87
|
-
ledger_db:
|
|
88
|
-
image: postgres:15.6
|
|
89
|
-
environment:
|
|
90
|
-
- BIND_HOST=0.0.0.0
|
|
91
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
92
|
-
mem_limit: 250M
|
|
93
|
-
logging:
|
|
94
|
-
driver: "json-file"
|
|
95
|
-
container_name: ledger_db
|
|
96
|
-
healthcheck:
|
|
97
|
-
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
|
|
98
|
-
interval: 10s
|
|
99
|
-
timeout: 5s
|
|
100
|
-
retries: 5
|
|
101
|
-
volumes:
|
|
102
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
103
|
-
ports:
|
|
104
|
-
- "20700:5432"
|
|
105
|
-
networks:
|
|
106
|
-
- pay_local_mimic_aws_vpc
|
|
107
|
-
|
|
108
|
-
webhooks_db:
|
|
109
|
-
image: postgres:15.6
|
|
110
|
-
environment:
|
|
111
|
-
- BIND_HOST=0.0.0.0
|
|
112
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
113
|
-
mem_limit: 250M
|
|
114
|
-
logging:
|
|
115
|
-
driver: "json-file"
|
|
116
|
-
container_name: webhooks_db
|
|
117
|
-
healthcheck:
|
|
118
|
-
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
|
|
119
|
-
interval: 10s
|
|
120
|
-
timeout: 5s
|
|
121
|
-
retries: 5
|
|
122
|
-
volumes:
|
|
123
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
124
|
-
ports:
|
|
125
|
-
- "20800:5432"
|
|
126
|
-
networks:
|
|
127
|
-
- pay_local_mimic_aws_vpc
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
adminusers:
|
|
131
|
-
image: governmentdigitalservice/pay-adminusers:latest-master
|
|
132
|
-
|
|
133
|
-
depends_on:
|
|
134
|
-
adminusers_db:
|
|
135
|
-
condition: service_healthy
|
|
136
|
-
|
|
137
|
-
env_file:
|
|
138
|
-
- services/java_app.env
|
|
139
|
-
- services/adminusers.env
|
|
140
|
-
environment:
|
|
141
|
-
- BIND_HOST=0.0.0.0
|
|
142
|
-
- RUN_MIGRATION=true
|
|
143
|
-
- RUN_APP=true
|
|
144
|
-
- PORT=9700
|
|
145
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
146
|
-
|
|
147
|
-
- DB_HOST=adminusers_db
|
|
148
|
-
- DB_USER=adminusers
|
|
149
|
-
- DB_PASSWORD=mysecretpassword
|
|
150
|
-
- DB_SSL_OPTION=ssl=none
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
155
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
- AWS_SQS_REGION=eu-west-1
|
|
162
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
163
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
164
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
165
|
-
- AWS_SQS_CONNECTOR_TASKS_QUEUE_URL=http://localstack:4566/000000000000/connector_tasks_queue
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
171
|
-
- CONNECTOR_URL=http://connector:9300
|
|
172
|
-
- CARDID_URL=http://cardid:9900
|
|
173
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
174
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
175
|
-
- PRODUCTS_URL=http://products:18000
|
|
176
|
-
- LEDGER_URL=http://ledger:10700
|
|
177
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
178
|
-
- FRONTEND_URL=http://localhost:9000
|
|
179
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
180
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
181
|
-
- STUBS_URL=http://localhost:3030
|
|
182
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
183
|
-
mem_limit: 2G
|
|
184
|
-
logging:
|
|
185
|
-
driver: "json-file"
|
|
186
|
-
ports:
|
|
187
|
-
- "9700:9700"
|
|
188
|
-
- "9701:9701"
|
|
189
|
-
container_name: adminusers
|
|
190
|
-
networks:
|
|
191
|
-
- pay_local_mimic_aws_vpc
|
|
192
|
-
|
|
193
|
-
connector:
|
|
194
|
-
image: governmentdigitalservice/pay-connector:latest-master
|
|
195
|
-
|
|
196
|
-
depends_on:
|
|
197
|
-
connector_db:
|
|
198
|
-
condition: service_healthy
|
|
199
|
-
|
|
200
|
-
env_file:
|
|
201
|
-
- services/java_app.env
|
|
202
|
-
- services/connector.env
|
|
203
|
-
environment:
|
|
204
|
-
- BIND_HOST=0.0.0.0
|
|
205
|
-
- RUN_MIGRATION=true
|
|
206
|
-
- RUN_APP=true
|
|
207
|
-
- PORT=9300
|
|
208
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
209
|
-
|
|
210
|
-
- DB_HOST=connector_db
|
|
211
|
-
- DB_USER=connector
|
|
212
|
-
- DB_PASSWORD=mysecretpassword
|
|
213
|
-
- DB_SSL_OPTION=ssl=none
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
218
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
- AWS_SQS_REGION=eu-west-1
|
|
225
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
226
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
227
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
228
|
-
- AWS_SQS_CAPTURE_QUEUE_URL=http://localstack:4566/000000000000/pay_capture_queue
|
|
229
|
-
- AWS_SQS_PAYMENT_EVENT_QUEUE_URL=http://localstack:4566/000000000000/pay_event_queue
|
|
230
|
-
- AWS_SQS_PAYOUT_RECONCILE_QUEUE_URL=http://localstack:4566/000000000000/payout_reconcile_queue
|
|
231
|
-
- AWS_SQS_CONNECTOR_TASKS_QUEUE_URL=http://localstack:4566/000000000000/connector_tasks_queue
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
237
|
-
- CONNECTOR_URL=http://connector:9300
|
|
238
|
-
- CARDID_URL=http://cardid:9900
|
|
239
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
240
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
241
|
-
- PRODUCTS_URL=http://products:18000
|
|
242
|
-
- LEDGER_URL=http://ledger:10700
|
|
243
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
244
|
-
- FRONTEND_URL=http://localhost:9000
|
|
245
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
246
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
247
|
-
- STUBS_URL=http://localhost:3030
|
|
248
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
249
|
-
mem_limit: 2G
|
|
250
|
-
logging:
|
|
251
|
-
driver: "json-file"
|
|
252
|
-
ports:
|
|
253
|
-
- "9300:9300"
|
|
254
|
-
- "9301:9301"
|
|
255
|
-
container_name: connector
|
|
256
|
-
networks:
|
|
257
|
-
- pay_local_mimic_aws_vpc
|
|
258
|
-
|
|
259
|
-
cardid:
|
|
260
|
-
image: governmentdigitalservice/pay-cardid:latest-master
|
|
261
|
-
|
|
262
|
-
env_file:
|
|
263
|
-
- services/java_app.env
|
|
264
|
-
- services/cardid.env
|
|
265
|
-
environment:
|
|
266
|
-
- BIND_HOST=0.0.0.0
|
|
267
|
-
- RUN_MIGRATION=true
|
|
268
|
-
- RUN_APP=true
|
|
269
|
-
- PORT=9900
|
|
270
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
282
|
-
- CONNECTOR_URL=http://connector:9300
|
|
283
|
-
- CARDID_URL=http://cardid:9900
|
|
284
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
285
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
286
|
-
- PRODUCTS_URL=http://products:18000
|
|
287
|
-
- LEDGER_URL=http://ledger:10700
|
|
288
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
289
|
-
- FRONTEND_URL=http://localhost:9000
|
|
290
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
291
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
292
|
-
- STUBS_URL=http://localhost:3030
|
|
293
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
294
|
-
mem_limit: 2G
|
|
295
|
-
logging:
|
|
296
|
-
driver: "json-file"
|
|
297
|
-
ports:
|
|
298
|
-
- "9900:9900"
|
|
299
|
-
- "9901:9901"
|
|
300
|
-
container_name: cardid
|
|
301
|
-
networks:
|
|
302
|
-
- pay_local_mimic_aws_vpc
|
|
303
|
-
|
|
304
|
-
publicauth:
|
|
305
|
-
image: governmentdigitalservice/pay-publicauth:latest-master
|
|
306
|
-
|
|
307
|
-
depends_on:
|
|
308
|
-
publicauth_db:
|
|
309
|
-
condition: service_healthy
|
|
310
|
-
|
|
311
|
-
env_file:
|
|
312
|
-
- services/java_app.env
|
|
313
|
-
- services/publicauth.env
|
|
314
|
-
environment:
|
|
315
|
-
- BIND_HOST=0.0.0.0
|
|
316
|
-
- RUN_MIGRATION=true
|
|
317
|
-
- RUN_APP=true
|
|
318
|
-
- PORT=9600
|
|
319
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
320
|
-
|
|
321
|
-
- DB_HOST=publicauth_db
|
|
322
|
-
- DB_USER=publicauth
|
|
323
|
-
- DB_PASSWORD=mysecretpassword
|
|
324
|
-
- DB_SSL_OPTION=ssl=none
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
336
|
-
- CONNECTOR_URL=http://connector:9300
|
|
337
|
-
- CARDID_URL=http://cardid:9900
|
|
338
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
339
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
340
|
-
- PRODUCTS_URL=http://products:18000
|
|
341
|
-
- LEDGER_URL=http://ledger:10700
|
|
342
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
343
|
-
- FRONTEND_URL=http://localhost:9000
|
|
344
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
345
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
346
|
-
- STUBS_URL=http://localhost:3030
|
|
347
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
348
|
-
mem_limit: 2G
|
|
349
|
-
logging:
|
|
350
|
-
driver: "json-file"
|
|
351
|
-
ports:
|
|
352
|
-
- "9600:9600"
|
|
353
|
-
- "9601:9601"
|
|
354
|
-
container_name: publicauth
|
|
355
|
-
networks:
|
|
356
|
-
- pay_local_mimic_aws_vpc
|
|
357
|
-
|
|
358
|
-
publicapi:
|
|
359
|
-
image: governmentdigitalservice/pay-publicapi:latest-master
|
|
360
|
-
|
|
361
|
-
env_file:
|
|
362
|
-
- services/java_app.env
|
|
363
|
-
- services/publicapi.env
|
|
364
|
-
environment:
|
|
365
|
-
- BIND_HOST=0.0.0.0
|
|
366
|
-
- RUN_MIGRATION=true
|
|
367
|
-
- RUN_APP=true
|
|
368
|
-
- PORT=9100
|
|
369
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
381
|
-
- CONNECTOR_URL=http://connector:9300
|
|
382
|
-
- CARDID_URL=http://cardid:9900
|
|
383
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
384
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
385
|
-
- PRODUCTS_URL=http://products:18000
|
|
386
|
-
- LEDGER_URL=http://ledger:10700
|
|
387
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
388
|
-
- FRONTEND_URL=http://localhost:9000
|
|
389
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
390
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
391
|
-
- STUBS_URL=http://localhost:3030
|
|
392
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
393
|
-
- REDIS_URL=redis
|
|
394
|
-
mem_limit: 2G
|
|
395
|
-
logging:
|
|
396
|
-
driver: "json-file"
|
|
397
|
-
ports:
|
|
398
|
-
- "9100:9100"
|
|
399
|
-
- "9101:9101"
|
|
400
|
-
container_name: publicapi
|
|
401
|
-
networks:
|
|
402
|
-
- pay_local_mimic_aws_vpc
|
|
403
|
-
|
|
404
|
-
products:
|
|
405
|
-
image: governmentdigitalservice/pay-products:latest-master
|
|
406
|
-
|
|
407
|
-
depends_on:
|
|
408
|
-
products_db:
|
|
409
|
-
condition: service_healthy
|
|
410
|
-
|
|
411
|
-
env_file:
|
|
412
|
-
- services/java_app.env
|
|
413
|
-
- services/products.env
|
|
414
|
-
environment:
|
|
415
|
-
- BIND_HOST=0.0.0.0
|
|
416
|
-
- RUN_MIGRATION=true
|
|
417
|
-
- RUN_APP=true
|
|
418
|
-
- PORT=18000
|
|
419
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
420
|
-
|
|
421
|
-
- DB_HOST=products_db
|
|
422
|
-
- DB_USER=products
|
|
423
|
-
- DB_PASSWORD=mysecretpassword
|
|
424
|
-
- DB_SSL_OPTION=ssl=none
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
436
|
-
- CONNECTOR_URL=http://connector:9300
|
|
437
|
-
- CARDID_URL=http://cardid:9900
|
|
438
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
439
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
440
|
-
- PRODUCTS_URL=http://products:18000
|
|
441
|
-
- LEDGER_URL=http://ledger:10700
|
|
442
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
443
|
-
- FRONTEND_URL=http://localhost:9000
|
|
444
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
445
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
446
|
-
- STUBS_URL=http://localhost:3030
|
|
447
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
448
|
-
mem_limit: 2G
|
|
449
|
-
logging:
|
|
450
|
-
driver: "json-file"
|
|
451
|
-
ports:
|
|
452
|
-
- "18000:18000"
|
|
453
|
-
- "18001:18001"
|
|
454
|
-
container_name: products
|
|
455
|
-
networks:
|
|
456
|
-
- pay_local_mimic_aws_vpc
|
|
457
|
-
|
|
458
|
-
ledger:
|
|
459
|
-
image: governmentdigitalservice/pay-ledger:latest-master
|
|
460
|
-
|
|
461
|
-
depends_on:
|
|
462
|
-
ledger_db:
|
|
463
|
-
condition: service_healthy
|
|
464
|
-
|
|
465
|
-
env_file:
|
|
466
|
-
- services/java_app.env
|
|
467
|
-
- services/ledger.env
|
|
468
|
-
environment:
|
|
469
|
-
- BIND_HOST=0.0.0.0
|
|
470
|
-
- RUN_MIGRATION=true
|
|
471
|
-
- RUN_APP=true
|
|
472
|
-
- PORT=10700
|
|
473
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
474
|
-
|
|
475
|
-
- DB_HOST=ledger_db
|
|
476
|
-
- DB_USER=ledger
|
|
477
|
-
- DB_PASSWORD=mysecretpassword
|
|
478
|
-
- DB_SSL_OPTION=ssl=none
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
483
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
- AWS_SQS_REGION=eu-west-1
|
|
490
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
491
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
492
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
493
|
-
- AWS_SQS_PAYMENT_EVENT_QUEUE_URL=http://localstack:4566/000000000000/pay_event_queue
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
- AWS_SNS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
498
|
-
- AWS_SNS_ENDPOINT=http://localstack:4566
|
|
499
|
-
- AWS_SNS_REGION=eu-west-1
|
|
500
|
-
- SNS_TOPIC_CARD_PAYMENT_EVENTS_ARN=arn:aws:sns:eu-west-1:000000000000:card-payment-events-topic
|
|
501
|
-
- SNS_TOPIC_CARD_PAYMENT_DISPUTE_EVENTS_ARN=arn:aws:sns:eu-west-1:000000000000:card-payment-dispute-events-topic
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
505
|
-
- CONNECTOR_URL=http://connector:9300
|
|
506
|
-
- CARDID_URL=http://cardid:9900
|
|
507
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
508
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
509
|
-
- PRODUCTS_URL=http://products:18000
|
|
510
|
-
- LEDGER_URL=http://ledger:10700
|
|
511
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
512
|
-
- FRONTEND_URL=http://localhost:9000
|
|
513
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
514
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
515
|
-
- STUBS_URL=http://localhost:3030
|
|
516
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
517
|
-
- SNS_ENABLED=true
|
|
518
|
-
- PUBLISH_CARD_PAYMENT_EVENTS_TO_SNS=true
|
|
519
|
-
- PUBLISH_CARD_PAYMENT_DISPUTE_EVENTS_TO_SNS=true
|
|
520
|
-
mem_limit: 2G
|
|
521
|
-
logging:
|
|
522
|
-
driver: "json-file"
|
|
523
|
-
ports:
|
|
524
|
-
- "10700:10700"
|
|
525
|
-
- "10701:10701"
|
|
526
|
-
container_name: ledger
|
|
527
|
-
networks:
|
|
528
|
-
- pay_local_mimic_aws_vpc
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
webhooks:
|
|
532
|
-
image: governmentdigitalservice/pay-webhooks:local
|
|
533
|
-
|
|
534
|
-
depends_on:
|
|
535
|
-
webhooks_db:
|
|
536
|
-
condition: service_healthy
|
|
537
|
-
|
|
538
|
-
env_file:
|
|
539
|
-
- services/java_app.env
|
|
540
|
-
- services/webhooks.env
|
|
541
|
-
environment:
|
|
542
|
-
- BIND_HOST=192.168.0.111
|
|
543
|
-
- RUN_MIGRATION=true
|
|
544
|
-
- RUN_APP=true
|
|
545
|
-
- PORT=10800
|
|
546
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
547
|
-
|
|
548
|
-
- DB_HOST=webhooks_db
|
|
549
|
-
- DB_USER=webhooks
|
|
550
|
-
- DB_PASSWORD=mysecretpassword
|
|
551
|
-
- DB_SSL_OPTION=ssl=none
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
556
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
- AWS_SQS_REGION=eu-west-1
|
|
563
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
564
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
565
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
566
|
-
- AWS_SQS_PAYMENT_EVENT_QUEUE_URL=http://localstack:4566/000000000000/webhooks-events-subscriber-queue
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
572
|
-
- CONNECTOR_URL=http://connector:9300
|
|
573
|
-
- CARDID_URL=http://cardid:9900
|
|
574
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
575
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
576
|
-
- PRODUCTS_URL=http://products:18000
|
|
577
|
-
- LEDGER_URL=http://ledger:10700
|
|
578
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
579
|
-
- FRONTEND_URL=http://localhost:9000
|
|
580
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
581
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
582
|
-
- STUBS_URL=http://localhost:3030
|
|
583
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
584
|
-
working_dir: '/app'
|
|
585
|
-
mem_limit: 2G
|
|
586
|
-
user: root
|
|
587
|
-
logging:
|
|
588
|
-
driver: "json-file"
|
|
589
|
-
ports:
|
|
590
|
-
- "10800:10800"
|
|
591
|
-
- "10801:10801"
|
|
592
|
-
container_name: webhooks
|
|
593
|
-
networks:
|
|
594
|
-
- pay_local_mimic_aws_vpc
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
frontend:
|
|
598
|
-
image: governmentdigitalservice/pay-frontend:latest-master
|
|
599
|
-
|
|
600
|
-
env_file: services/frontend.env
|
|
601
|
-
environment:
|
|
602
|
-
- BIND_HOST=0.0.0.0
|
|
603
|
-
- SECURE_COOKIE_OFF=true
|
|
604
|
-
- RUN_APP=true
|
|
605
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
606
|
-
- PORT=9000
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
610
|
-
|
|
611
|
-
- CONNECTOR_URL=http://connector:9300
|
|
612
|
-
|
|
613
|
-
- CARDID_URL=http://cardid:9900
|
|
614
|
-
|
|
615
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
616
|
-
|
|
617
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
618
|
-
|
|
619
|
-
- PRODUCTS_URL=http://products:18000
|
|
620
|
-
|
|
621
|
-
- LEDGER_URL=http://ledger:10700
|
|
622
|
-
|
|
623
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
624
|
-
- FRONTEND_URL=http://localhost:9000
|
|
625
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
626
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
627
|
-
- STUBS_URL=http://localhost:3030
|
|
628
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
629
|
-
mem_limit: 1G
|
|
630
|
-
working_dir: '/app'
|
|
631
|
-
entrypoint: 'npm start'
|
|
632
|
-
ports:
|
|
633
|
-
- "9000:9000"
|
|
634
|
-
logging:
|
|
635
|
-
driver: "json-file"
|
|
636
|
-
container_name: frontend
|
|
637
|
-
networks:
|
|
638
|
-
- pay_local_mimic_aws_vpc
|
|
639
|
-
|
|
640
|
-
selfservice:
|
|
641
|
-
image: governmentdigitalservice/pay-selfservice:latest-master
|
|
642
|
-
|
|
643
|
-
env_file: services/selfservice.env
|
|
644
|
-
environment:
|
|
645
|
-
- BIND_HOST=0.0.0.0
|
|
646
|
-
- SECURE_COOKIE_OFF=true
|
|
647
|
-
- RUN_APP=true
|
|
648
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
649
|
-
- PORT=9400
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
653
|
-
|
|
654
|
-
- CONNECTOR_URL=http://connector:9300
|
|
655
|
-
|
|
656
|
-
- CARDID_URL=http://cardid:9900
|
|
657
|
-
|
|
658
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
659
|
-
|
|
660
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
661
|
-
|
|
662
|
-
- PRODUCTS_URL=http://products:18000
|
|
663
|
-
|
|
664
|
-
- LEDGER_URL=http://ledger:10700
|
|
665
|
-
|
|
666
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
667
|
-
- FRONTEND_URL=http://localhost:9000
|
|
668
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
669
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
670
|
-
- STUBS_URL=http://localhost:3030
|
|
671
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
672
|
-
mem_limit: 1G
|
|
673
|
-
working_dir: '/app'
|
|
674
|
-
entrypoint: 'npm start'
|
|
675
|
-
ports:
|
|
676
|
-
- "9400:9400"
|
|
677
|
-
logging:
|
|
678
|
-
driver: "json-file"
|
|
679
|
-
container_name: selfservice
|
|
680
|
-
networks:
|
|
681
|
-
- pay_local_mimic_aws_vpc
|
|
682
|
-
|
|
683
|
-
products-ui:
|
|
684
|
-
image: governmentdigitalservice/pay-products-ui:latest-master
|
|
685
|
-
|
|
686
|
-
env_file: services/products-ui.env
|
|
687
|
-
environment:
|
|
688
|
-
- BIND_HOST=0.0.0.0
|
|
689
|
-
- SECURE_COOKIE_OFF=true
|
|
690
|
-
- RUN_APP=true
|
|
691
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
692
|
-
- PORT=10400
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
696
|
-
|
|
697
|
-
- CONNECTOR_URL=http://connector:9300
|
|
698
|
-
|
|
699
|
-
- CARDID_URL=http://cardid:9900
|
|
700
|
-
|
|
701
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
702
|
-
|
|
703
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
704
|
-
|
|
705
|
-
- PRODUCTS_URL=http://products:18000
|
|
706
|
-
|
|
707
|
-
- LEDGER_URL=http://ledger:10700
|
|
708
|
-
|
|
709
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
710
|
-
- FRONTEND_URL=http://localhost:9000
|
|
711
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
712
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
713
|
-
- STUBS_URL=http://localhost:3030
|
|
714
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
715
|
-
mem_limit: 1G
|
|
716
|
-
working_dir: '/app'
|
|
717
|
-
entrypoint: 'npm start'
|
|
718
|
-
ports:
|
|
719
|
-
- "10400:10400"
|
|
720
|
-
logging:
|
|
721
|
-
driver: "json-file"
|
|
722
|
-
container_name: products-ui
|
|
723
|
-
networks:
|
|
724
|
-
- pay_local_mimic_aws_vpc
|
|
725
|
-
|
|
726
|
-
stubs:
|
|
727
|
-
image: governmentdigitalservice/pay-stubs:latest-master
|
|
728
|
-
|
|
729
|
-
env_file: services/stubs.env
|
|
730
|
-
environment:
|
|
731
|
-
- BIND_HOST=0.0.0.0
|
|
732
|
-
- SECURE_COOKIE_OFF=true
|
|
733
|
-
- RUN_APP=true
|
|
734
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
735
|
-
- PORT=3030
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
739
|
-
|
|
740
|
-
- CONNECTOR_URL=http://connector:9300
|
|
741
|
-
|
|
742
|
-
- CARDID_URL=http://cardid:9900
|
|
743
|
-
|
|
744
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
745
|
-
|
|
746
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
747
|
-
|
|
748
|
-
- PRODUCTS_URL=http://products:18000
|
|
749
|
-
|
|
750
|
-
- LEDGER_URL=http://ledger:10700
|
|
751
|
-
|
|
752
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
753
|
-
- FRONTEND_URL=http://localhost:9000
|
|
754
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
755
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
756
|
-
- STUBS_URL=http://localhost:3030
|
|
757
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
758
|
-
mem_limit: 1G
|
|
759
|
-
working_dir: '/app'
|
|
760
|
-
entrypoint: 'npm start'
|
|
761
|
-
ports:
|
|
762
|
-
- "3030:3030"
|
|
763
|
-
logging:
|
|
764
|
-
driver: "json-file"
|
|
765
|
-
container_name: stubs
|
|
766
|
-
networks:
|
|
767
|
-
- pay_local_mimic_aws_vpc
|
|
768
|
-
|
|
769
|
-
toolbox:
|
|
770
|
-
image: governmentdigitalservice/pay-toolbox:latest-master
|
|
771
|
-
|
|
772
|
-
env_file: services/toolbox.env
|
|
773
|
-
environment:
|
|
774
|
-
- BIND_HOST=0.0.0.0
|
|
775
|
-
- SECURE_COOKIE_OFF=true
|
|
776
|
-
- RUN_APP=true
|
|
777
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
778
|
-
- PORT=3040
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
782
|
-
|
|
783
|
-
- CONNECTOR_URL=http://connector:9300
|
|
784
|
-
|
|
785
|
-
- CARDID_URL=http://cardid:9900
|
|
786
|
-
|
|
787
|
-
- PUBLIC_AUTH_URL=http://publicauth:9600
|
|
788
|
-
|
|
789
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
790
|
-
|
|
791
|
-
- PRODUCTS_URL=http://products:18000
|
|
792
|
-
|
|
793
|
-
- LEDGER_URL=http://ledger:10700
|
|
794
|
-
|
|
795
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
796
|
-
- FRONTEND_URL=http://localhost:9000
|
|
797
|
-
- SELFSERVICE_URL=http://localhost:9400
|
|
798
|
-
- PRODUCTS-UI_URL=http://localhost:10400
|
|
799
|
-
- STUBS_URL=http://localhost:3030
|
|
800
|
-
- TOOLBOX_URL=http://localhost:3040
|
|
801
|
-
mem_limit: 1G
|
|
802
|
-
working_dir: '/app'
|
|
803
|
-
entrypoint: 'npm start'
|
|
804
|
-
ports:
|
|
805
|
-
- "3040:3040"
|
|
806
|
-
logging:
|
|
807
|
-
driver: "json-file"
|
|
808
|
-
container_name: toolbox
|
|
809
|
-
networks:
|
|
810
|
-
- pay_local_mimic_aws_vpc
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
localstack:
|
|
816
|
-
image: localstack/localstack:3
|
|
817
|
-
container_name: localstack
|
|
818
|
-
environment:
|
|
819
|
-
- EAGER_SERVICE_LOADING=1
|
|
820
|
-
- SERVICES=sns,sqs
|
|
821
|
-
ports:
|
|
822
|
-
- "4566:4566" # All AWS services exposed on this port
|
|
823
|
-
volumes:
|
|
824
|
-
- /Users/jonathan.harden/gitdevel/github.com/alphagov/pay-infra/cli/lib/pay_cli/commands/local/files/localstack/init-aws.sh:/etc/localstack/init/ready.d/init-aws.sh
|
|
825
|
-
networks:
|
|
826
|
-
- pay_local_mimic_aws_vpc
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
redis:
|
|
830
|
-
image: redis:latest
|
|
831
|
-
container_name: localRedis
|
|
832
|
-
ports:
|
|
833
|
-
- "6379:6379"
|
|
834
|
-
networks:
|
|
835
|
-
- pay_local_mimic_aws_vpc
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
networks:
|
|
840
|
-
pay_local_mimic_aws_vpc:
|
|
841
|
-
name: pay_local_mimic_aws_vpc
|
|
842
|
-
driver_opts:
|
|
843
|
-
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"
|
|
844
|
-
ipam:
|
|
845
|
-
driver: default
|
|
846
|
-
config:
|
|
847
|
-
- subnet: 172.18.0.0/24
|