@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,491 +0,0 @@
|
|
|
1
|
-
version: '2.1'
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
|
|
5
|
-
adminusers_db:
|
|
6
|
-
image: postgres:15.2
|
|
7
|
-
environment:
|
|
8
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
9
|
-
mem_limit: 250M
|
|
10
|
-
logging:
|
|
11
|
-
driver: "json-file"
|
|
12
|
-
container_name: adminusers_db
|
|
13
|
-
healthcheck:
|
|
14
|
-
test: ["CMD-SHELL", "pg_isready"]
|
|
15
|
-
interval: 10s
|
|
16
|
-
timeout: 5s
|
|
17
|
-
retries: 5
|
|
18
|
-
volumes:
|
|
19
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
20
|
-
ports:
|
|
21
|
-
- "19700:5432"
|
|
22
|
-
|
|
23
|
-
connector_db:
|
|
24
|
-
image: postgres:15.2
|
|
25
|
-
environment:
|
|
26
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
27
|
-
mem_limit: 250M
|
|
28
|
-
logging:
|
|
29
|
-
driver: "json-file"
|
|
30
|
-
container_name: connector_db
|
|
31
|
-
healthcheck:
|
|
32
|
-
test: ["CMD-SHELL", "pg_isready"]
|
|
33
|
-
interval: 10s
|
|
34
|
-
timeout: 5s
|
|
35
|
-
retries: 5
|
|
36
|
-
volumes:
|
|
37
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
38
|
-
ports:
|
|
39
|
-
- "19300:5432"
|
|
40
|
-
|
|
41
|
-
publicauth_db:
|
|
42
|
-
image: postgres:15.2
|
|
43
|
-
environment:
|
|
44
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
45
|
-
mem_limit: 250M
|
|
46
|
-
logging:
|
|
47
|
-
driver: "json-file"
|
|
48
|
-
container_name: publicauth_db
|
|
49
|
-
healthcheck:
|
|
50
|
-
test: ["CMD-SHELL", "pg_isready"]
|
|
51
|
-
interval: 10s
|
|
52
|
-
timeout: 5s
|
|
53
|
-
retries: 5
|
|
54
|
-
volumes:
|
|
55
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
56
|
-
ports:
|
|
57
|
-
- "19600:5432"
|
|
58
|
-
|
|
59
|
-
ledger_db:
|
|
60
|
-
image: postgres:15.2
|
|
61
|
-
environment:
|
|
62
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
63
|
-
mem_limit: 250M
|
|
64
|
-
logging:
|
|
65
|
-
driver: "json-file"
|
|
66
|
-
container_name: ledger_db
|
|
67
|
-
healthcheck:
|
|
68
|
-
test: ["CMD-SHELL", "pg_isready"]
|
|
69
|
-
interval: 10s
|
|
70
|
-
timeout: 5s
|
|
71
|
-
retries: 5
|
|
72
|
-
volumes:
|
|
73
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
74
|
-
ports:
|
|
75
|
-
- "20700:5432"
|
|
76
|
-
|
|
77
|
-
webhooks_db:
|
|
78
|
-
image: postgres:15.2
|
|
79
|
-
environment:
|
|
80
|
-
- POSTGRES_PASSWORD=mysecretpassword
|
|
81
|
-
mem_limit: 250M
|
|
82
|
-
logging:
|
|
83
|
-
driver: "json-file"
|
|
84
|
-
container_name: webhooks_db
|
|
85
|
-
healthcheck:
|
|
86
|
-
test: ["CMD-SHELL", "pg_isready"]
|
|
87
|
-
interval: 10s
|
|
88
|
-
timeout: 5s
|
|
89
|
-
retries: 5
|
|
90
|
-
volumes:
|
|
91
|
-
- ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
92
|
-
ports:
|
|
93
|
-
- "20800:5432"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
adminusers:
|
|
97
|
-
image: governmentdigitalservice/pay-adminusers:latest-master
|
|
98
|
-
|
|
99
|
-
depends_on:
|
|
100
|
-
adminusers_db:
|
|
101
|
-
condition: service_healthy
|
|
102
|
-
|
|
103
|
-
env_file:
|
|
104
|
-
- services/java_app.env
|
|
105
|
-
- services/adminusers.env
|
|
106
|
-
environment:
|
|
107
|
-
- RUN_MIGRATION=true
|
|
108
|
-
- RUN_APP=true
|
|
109
|
-
- PORT=9700
|
|
110
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
111
|
-
|
|
112
|
-
- DB_HOST=adminusers_db
|
|
113
|
-
- DB_USER=adminusers
|
|
114
|
-
- DB_PASSWORD=mysecretpassword
|
|
115
|
-
- DB_SSL_OPTION=ssl=none
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
120
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
- AWS_SQS_REGION=eu-west-1
|
|
125
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
126
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
127
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
128
|
-
- AWS_SQS_CONNECTOR_TASKS_QUEUE_URL=http://localstack:4566/000000000000/connector_tasks_queue
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
134
|
-
- CONNECTOR_URL=http://connector:9300
|
|
135
|
-
- CARDID_URL=http://cardid:9900
|
|
136
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
137
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
138
|
-
- LEDGER_URL=http://ledger:10700
|
|
139
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
140
|
-
- FRONTEND_URL=http://localhost:9000
|
|
141
|
-
mem_limit: 2G
|
|
142
|
-
logging:
|
|
143
|
-
driver: "json-file"
|
|
144
|
-
ports:
|
|
145
|
-
- "9700:9700"
|
|
146
|
-
- "9701:9701"
|
|
147
|
-
container_name: adminusers
|
|
148
|
-
|
|
149
|
-
connector:
|
|
150
|
-
image: governmentdigitalservice/pay-connector:latest-master
|
|
151
|
-
|
|
152
|
-
depends_on:
|
|
153
|
-
connector_db:
|
|
154
|
-
condition: service_healthy
|
|
155
|
-
|
|
156
|
-
env_file:
|
|
157
|
-
- services/java_app.env
|
|
158
|
-
- services/connector.env
|
|
159
|
-
environment:
|
|
160
|
-
- RUN_MIGRATION=true
|
|
161
|
-
- RUN_APP=true
|
|
162
|
-
- PORT=9300
|
|
163
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
164
|
-
|
|
165
|
-
- DB_HOST=connector_db
|
|
166
|
-
- DB_USER=connector
|
|
167
|
-
- DB_PASSWORD=mysecretpassword
|
|
168
|
-
- DB_SSL_OPTION=ssl=none
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
173
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
- AWS_SQS_REGION=eu-west-1
|
|
178
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
179
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
180
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
181
|
-
- AWS_SQS_CAPTURE_QUEUE_URL=http://localstack:4566/000000000000/pay_capture_queue
|
|
182
|
-
- AWS_SQS_PAYMENT_EVENT_QUEUE_URL=http://localstack:4566/000000000000/pay_event_queue
|
|
183
|
-
- AWS_SQS_PAYOUT_RECONCILE_QUEUE_URL=http://localstack:4566/000000000000/payout_reconcile_queue
|
|
184
|
-
- AWS_SQS_CONNECTOR_TASKS_QUEUE_URL=http://localstack:4566/000000000000/connector_tasks_queue
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
190
|
-
- CONNECTOR_URL=http://connector:9300
|
|
191
|
-
- CARDID_URL=http://cardid:9900
|
|
192
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
193
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
194
|
-
- LEDGER_URL=http://ledger:10700
|
|
195
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
196
|
-
- FRONTEND_URL=http://localhost:9000
|
|
197
|
-
mem_limit: 2G
|
|
198
|
-
logging:
|
|
199
|
-
driver: "json-file"
|
|
200
|
-
ports:
|
|
201
|
-
- "9300:9300"
|
|
202
|
-
- "9301:9301"
|
|
203
|
-
container_name: connector
|
|
204
|
-
|
|
205
|
-
cardid:
|
|
206
|
-
image: governmentdigitalservice/pay-cardid:latest-master
|
|
207
|
-
|
|
208
|
-
env_file:
|
|
209
|
-
- services/java_app.env
|
|
210
|
-
- services/cardid.env
|
|
211
|
-
environment:
|
|
212
|
-
- RUN_MIGRATION=true
|
|
213
|
-
- RUN_APP=true
|
|
214
|
-
- PORT=9900
|
|
215
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
225
|
-
- CONNECTOR_URL=http://connector:9300
|
|
226
|
-
- CARDID_URL=http://cardid:9900
|
|
227
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
228
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
229
|
-
- LEDGER_URL=http://ledger:10700
|
|
230
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
231
|
-
- FRONTEND_URL=http://localhost:9000
|
|
232
|
-
mem_limit: 2G
|
|
233
|
-
logging:
|
|
234
|
-
driver: "json-file"
|
|
235
|
-
ports:
|
|
236
|
-
- "9900:9900"
|
|
237
|
-
- "9901:9901"
|
|
238
|
-
container_name: cardid
|
|
239
|
-
|
|
240
|
-
publicauth:
|
|
241
|
-
image: governmentdigitalservice/pay-publicauth:latest-master
|
|
242
|
-
|
|
243
|
-
depends_on:
|
|
244
|
-
publicauth_db:
|
|
245
|
-
condition: service_healthy
|
|
246
|
-
|
|
247
|
-
env_file:
|
|
248
|
-
- services/java_app.env
|
|
249
|
-
- services/publicauth.env
|
|
250
|
-
environment:
|
|
251
|
-
- RUN_MIGRATION=true
|
|
252
|
-
- RUN_APP=true
|
|
253
|
-
- PORT=9600
|
|
254
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
255
|
-
|
|
256
|
-
- DB_HOST=publicauth_db
|
|
257
|
-
- DB_USER=publicauth
|
|
258
|
-
- DB_PASSWORD=mysecretpassword
|
|
259
|
-
- DB_SSL_OPTION=ssl=none
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
269
|
-
- CONNECTOR_URL=http://connector:9300
|
|
270
|
-
- CARDID_URL=http://cardid:9900
|
|
271
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
272
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
273
|
-
- LEDGER_URL=http://ledger:10700
|
|
274
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
275
|
-
- FRONTEND_URL=http://localhost:9000
|
|
276
|
-
mem_limit: 2G
|
|
277
|
-
logging:
|
|
278
|
-
driver: "json-file"
|
|
279
|
-
ports:
|
|
280
|
-
- "9600:9600"
|
|
281
|
-
- "9601:9601"
|
|
282
|
-
container_name: publicauth
|
|
283
|
-
|
|
284
|
-
publicapi:
|
|
285
|
-
image: governmentdigitalservice/pay-publicapi:latest-master
|
|
286
|
-
|
|
287
|
-
env_file:
|
|
288
|
-
- services/java_app.env
|
|
289
|
-
- services/publicapi.env
|
|
290
|
-
environment:
|
|
291
|
-
- RUN_MIGRATION=true
|
|
292
|
-
- RUN_APP=true
|
|
293
|
-
- PORT=9100
|
|
294
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
304
|
-
- CONNECTOR_URL=http://connector:9300
|
|
305
|
-
- CARDID_URL=http://cardid:9900
|
|
306
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
307
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
308
|
-
- LEDGER_URL=http://ledger:10700
|
|
309
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
310
|
-
- FRONTEND_URL=http://localhost:9000
|
|
311
|
-
- REDIS_URL=redis
|
|
312
|
-
mem_limit: 2G
|
|
313
|
-
logging:
|
|
314
|
-
driver: "json-file"
|
|
315
|
-
ports:
|
|
316
|
-
- "9100:9100"
|
|
317
|
-
- "9101:9101"
|
|
318
|
-
container_name: publicapi
|
|
319
|
-
|
|
320
|
-
ledger:
|
|
321
|
-
image: governmentdigitalservice/pay-ledger:latest-master
|
|
322
|
-
|
|
323
|
-
depends_on:
|
|
324
|
-
ledger_db:
|
|
325
|
-
condition: service_healthy
|
|
326
|
-
|
|
327
|
-
env_file:
|
|
328
|
-
- services/java_app.env
|
|
329
|
-
- services/ledger.env
|
|
330
|
-
environment:
|
|
331
|
-
- RUN_MIGRATION=true
|
|
332
|
-
- RUN_APP=true
|
|
333
|
-
- PORT=10700
|
|
334
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
335
|
-
|
|
336
|
-
- DB_HOST=ledger_db
|
|
337
|
-
- DB_USER=ledger
|
|
338
|
-
- DB_PASSWORD=mysecretpassword
|
|
339
|
-
- DB_SSL_OPTION=ssl=none
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
344
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
- AWS_SQS_REGION=eu-west-1
|
|
349
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
350
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
351
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
352
|
-
- AWS_SQS_PAYMENT_EVENT_QUEUE_URL=http://localstack:4566/000000000000/pay_event_queue
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
- AWS_SNS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
357
|
-
- AWS_SNS_ENDPOINT=http://localstack:4566
|
|
358
|
-
- AWS_SNS_REGION=eu-west-1
|
|
359
|
-
- SNS_TOPIC_CARD_PAYMENT_EVENTS_ARN=arn:aws:sns:eu-west-1:000000000000:card-payment-events-topic
|
|
360
|
-
- SNS_TOPIC_CARD_PAYMENT_DISPUTE_EVENTS_ARN=arn:aws:sns:eu-west-1:000000000000:card-payment-dispute-events-topic
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
364
|
-
- CONNECTOR_URL=http://connector:9300
|
|
365
|
-
- CARDID_URL=http://cardid:9900
|
|
366
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
367
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
368
|
-
- LEDGER_URL=http://ledger:10700
|
|
369
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
370
|
-
- FRONTEND_URL=http://localhost:9000
|
|
371
|
-
- SNS_ENABLED=true
|
|
372
|
-
- PUBLISH_CARD_PAYMENT_EVENTS_TO_SNS=true
|
|
373
|
-
- PUBLISH_CARD_PAYMENT_DISPUTE_EVENTS_TO_SNS=true
|
|
374
|
-
mem_limit: 2G
|
|
375
|
-
logging:
|
|
376
|
-
driver: "json-file"
|
|
377
|
-
ports:
|
|
378
|
-
- "10700:10700"
|
|
379
|
-
- "10701:10701"
|
|
380
|
-
container_name: ledger
|
|
381
|
-
|
|
382
|
-
webhooks:
|
|
383
|
-
image: governmentdigitalservice/pay-webhooks:latest-master
|
|
384
|
-
|
|
385
|
-
depends_on:
|
|
386
|
-
webhooks_db:
|
|
387
|
-
condition: service_healthy
|
|
388
|
-
|
|
389
|
-
env_file:
|
|
390
|
-
- services/java_app.env
|
|
391
|
-
- services/webhooks.env
|
|
392
|
-
environment:
|
|
393
|
-
- RUN_MIGRATION=true
|
|
394
|
-
- RUN_APP=true
|
|
395
|
-
- PORT=10800
|
|
396
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
397
|
-
|
|
398
|
-
- DB_HOST=webhooks_db
|
|
399
|
-
- DB_USER=webhooks
|
|
400
|
-
- DB_PASSWORD=mysecretpassword
|
|
401
|
-
- DB_SSL_OPTION=ssl=none
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
406
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
- AWS_SQS_REGION=eu-west-1
|
|
411
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
412
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
413
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
414
|
-
- AWS_SQS_PAYMENT_EVENT_QUEUE_URL=http://localstack:4566/000000000000/webhooks-events-subscriber-queue
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
420
|
-
- CONNECTOR_URL=http://connector:9300
|
|
421
|
-
- CARDID_URL=http://cardid:9900
|
|
422
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
423
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
424
|
-
- LEDGER_URL=http://ledger:10700
|
|
425
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
426
|
-
- FRONTEND_URL=http://localhost:9000
|
|
427
|
-
mem_limit: 2G
|
|
428
|
-
logging:
|
|
429
|
-
driver: "json-file"
|
|
430
|
-
ports:
|
|
431
|
-
- "10800:10800"
|
|
432
|
-
- "10801:10801"
|
|
433
|
-
container_name: webhooks
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
frontend:
|
|
438
|
-
image: governmentdigitalservice/pay-frontend:latest-master
|
|
439
|
-
|
|
440
|
-
env_file: services/frontend.env
|
|
441
|
-
environment:
|
|
442
|
-
- SECURE_COOKIE_OFF=true
|
|
443
|
-
- NODE_ENV=${NODE_ENV:-production}
|
|
444
|
-
- RUN_APP=true
|
|
445
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
446
|
-
- PORT=9000
|
|
447
|
-
|
|
448
|
-
- ADMINUSERS_URL=http://adminusers:9700
|
|
449
|
-
|
|
450
|
-
- CONNECTOR_URL=http://connector:9300
|
|
451
|
-
|
|
452
|
-
- CARDID_URL=http://cardid:9900
|
|
453
|
-
|
|
454
|
-
- PUBLICAUTH_URL=http://publicauth:9600
|
|
455
|
-
|
|
456
|
-
- PUBLICAPI_URL=http://publicapi:9100
|
|
457
|
-
|
|
458
|
-
- LEDGER_URL=http://ledger:10700
|
|
459
|
-
|
|
460
|
-
- WEBHOOKS_URL=http://webhooks:10800
|
|
461
|
-
- FRONTEND_URL=http://localhost:9000
|
|
462
|
-
mem_limit: 1G
|
|
463
|
-
working_dir: '/app'
|
|
464
|
-
entrypoint: 'npm start'
|
|
465
|
-
ports:
|
|
466
|
-
- "9000:9000"
|
|
467
|
-
logging:
|
|
468
|
-
driver: "json-file"
|
|
469
|
-
container_name: frontend
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
localstack:
|
|
475
|
-
image: localstack/localstack:3
|
|
476
|
-
container_name: localstack
|
|
477
|
-
environment:
|
|
478
|
-
- EAGER_SERVICE_LOADING=1
|
|
479
|
-
- SERVICES=sns,sqs
|
|
480
|
-
ports:
|
|
481
|
-
- "4566:4566" # All AWS services exposed on this port
|
|
482
|
-
volumes:
|
|
483
|
-
- /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
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
redis:
|
|
487
|
-
image: redis:latest
|
|
488
|
-
container_name: localRedis
|
|
489
|
-
ports:
|
|
490
|
-
- "6379:6379"
|
|
491
|
-
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
version: '2.1'
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
connector:
|
|
5
|
-
image: governmentdigitalservice/pay-connector:local
|
|
6
|
-
|
|
7
|
-
env_file:
|
|
8
|
-
- services/java_app.env
|
|
9
|
-
- services/connector.env
|
|
10
|
-
environment:
|
|
11
|
-
- RUN_MIGRATION=true
|
|
12
|
-
- RUN_APP=true
|
|
13
|
-
- PORT=9300
|
|
14
|
-
- DISABLE_INTERNAL_HTTPS=true
|
|
15
|
-
|
|
16
|
-
# - DB_HOST=connector_db
|
|
17
|
-
# - DB_USER=connector
|
|
18
|
-
# - DB_PASSWORD=mysecretpassword
|
|
19
|
-
- DB_SSL_OPTION=ssl=true&sslmode=require
|
|
20
|
-
- DB_SSL_FACTORY=org.postgresql.ssl.NonValidatingFactory
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- AWS_ACCESS_KEY=mockAccessKey
|
|
25
|
-
- AWS_SECRET_ACCESS_KEY=mockSecretAccessKey
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- AWS_SQS_REGION=eu-west-1
|
|
30
|
-
- AWS_SQS_MESSAGE_MAXIMUM_WAIT_TIME_IN_SECONDS=20
|
|
31
|
-
- AWS_SQS_NON_STANDARD_SERVICE_ENDPOINT=true
|
|
32
|
-
- AWS_SQS_ENDPOINT=http://localstack:4566
|
|
33
|
-
- AWS_SQS_CAPTURE_QUEUE_URL=http://localstack:4566/000000000000/pay_capture_queue
|
|
34
|
-
- AWS_SQS_PAYMENT_EVENT_QUEUE_URL=http://localstack:4566/000000000000/pay_event_queue
|
|
35
|
-
- AWS_SQS_PAYOUT_RECONCILE_QUEUE_URL=http://localstack:4566/000000000000/payout_reconcile_queue
|
|
36
|
-
- AWS_SQS_CONNECTOR_TASKS_QUEUE_URL=http://localstack:4566/000000000000/connector_tasks_queue
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- CONNECTOR_URL=http://connector:9300
|
|
42
|
-
- DB_HOST=docker.for.mac.localhost
|
|
43
|
-
- DB_PORT=65432
|
|
44
|
-
- DB_USER=connector
|
|
45
|
-
- DB_PASSWORD=fgNGieFzGgKdH]qvJwks8DRN
|
|
46
|
-
working_dir: '/app'
|
|
47
|
-
mem_limit: 2G
|
|
48
|
-
user: root
|
|
49
|
-
logging:
|
|
50
|
-
driver: "json-file"
|
|
51
|
-
ports:
|
|
52
|
-
- "9300:9300"
|
|
53
|
-
- "9301:9301"
|
|
54
|
-
container_name: connector
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
localstack:
|
|
61
|
-
image: localstack/localstack:3
|
|
62
|
-
container_name: localstack
|
|
63
|
-
environment:
|
|
64
|
-
- EAGER_SERVICE_LOADING=1
|
|
65
|
-
- SERVICES=sns,sqs
|
|
66
|
-
ports:
|
|
67
|
-
- "4566:4566" # All AWS services exposed on this port
|
|
68
|
-
volumes:
|
|
69
|
-
- /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
|
|
70
|
-
|
|
71
|
-
|