generated from DEFRA/ffc-template-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
48 lines (47 loc) · 2.88 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
services:
ffc-pay-processing:
build:
context: .
target: production
image: ffc-pay-processing
depends_on:
- ffc-pay-processing-postgres
environment:
APPINSIGHTS_CLOUDROLE: ffc-pay-processing-local
APPINSIGHTS_CONNECTIONSTRING: ${APPINSIGHTS_CONNECTIONSTRING}
MESSAGE_QUEUE_HOST: ${MESSAGE_QUEUE_HOST}
MESSAGE_QUEUE_PASSWORD: ${MESSAGE_QUEUE_PASSWORD}
MESSAGE_QUEUE_USER: ${MESSAGE_QUEUE_USER}
PROCESSING_TOPIC_ADDRESS: ${PROCESSING_TOPIC_ADDRESS:-ffc-pay-processing}${MESSAGE_QUEUE_SUFFIX}
PROCESSING_SUBSCRIPTION_ADDRESS: ${PROCESSING_SUBSCRIPTION_ADDRESS:-ffc-pay-processing}${MESSAGE_QUEUE_SUFFIX}
ACKNOWLEDGEMENT_TOPIC_ADDRESS: ${ACKNOWLEDGEMENT_TOPIC_ADDRESS:-ffc-pay-acknowledgement}${MESSAGE_QUEUE_SUFFIX}
ACKNOWLEDGEMENT_SUBSCRIPTION_ADDRESS: ${ACKNOWLEDGEMENT_SUBSCRIPTION_ADDRESS:-ffc-pay-processing}${MESSAGE_QUEUE_SUFFIX}
RETURN_TOPIC_ADDRESS: ${RETURN_TOPIC_ADDRESS:-ffc-pay-return}${MESSAGE_QUEUE_SUFFIX}
RETURN_SUBSCRIPTION_ADDRESS: ${RETURN_SUBSCRIPTION_ADDRESS:-ffc-pay-processing}${MESSAGE_QUEUE_SUFFIX}
PAYMENTSUBMIT_TOPIC_ADDRESS: ${PAYMENTSUBMIT_TOPIC_ADDRESS:-ffc-pay-submit}${MESSAGE_QUEUE_SUFFIX}
DEBT_TOPIC_ADDRESS: ${DEBT_TOPIC_ADDRESS:-ffc-pay-debt-data}${MESSAGE_QUEUE_SUFFIX}
QC_TOPIC_ADDRESS: ${QC_TOPIC_ADDRESS:-ffc-pay-debt-data-response}${MESSAGE_QUEUE_SUFFIX}
QC_SUBSCRIPTION_ADDRESS: ${QC_SUBSCRIPTION_ADDRESS:-ffc-pay-processing}${MESSAGE_QUEUE_SUFFIX}
MANUALCHECK_TOPIC_ADDRESS: ${MANUALCHECK_TOPIC_ADDRESS:-ffc-pay-manual-check-data}${MESSAGE_QUEUE_SUFFIX}
QCMANUALCHECK_TOPIC_ADDRESS: ${MANUALCHECK_TOPIC_ADDRESS:-ffc-pay-quality-check}${MESSAGE_QUEUE_SUFFIX}
QCMANUALCHECK_SUBSCRIPTION_ADDRESS: ${MANUALCHECK_SUBSCRIPTION_ADDRESS:-ffc-pay-processing}${MESSAGE_QUEUE_SUFFIX}
XB_TOPIC_ADDRESS: ${XB_TOPIC_ADDRESS:-ffc-pay-xb}${MESSAGE_QUEUE_SUFFIX}
XBRESPONSE_TOPIC_ADDRESS: ${XBRESPONSE_TOPIC_ADDRESS:-ffc-pay-xb-response}${MESSAGE_QUEUE_SUFFIX}
XBRESPONSE_SUBSCRIPTION_ADDRESS: ${XBRESPONSE_SUBSCRIPTION_ADDRESS:-ffc-pay-processing}${MESSAGE_QUEUE_SUFFIX}
EVENT_TOPIC_ADDRESS: ${EVENT_TOPIC_ADDRESS:-ffc-pay-event}${MESSAGE_QUEUE_SUFFIX}
EVENTS_TOPIC_ADDRESS: ${EVENTS_TOPIC_ADDRESS:-ffc-pay-events}${MESSAGE_QUEUE_SUFFIX}
POSTGRES_DB: ffc_pay_processing
POSTGRES_HOST: ${POSTGRES_HOST:-ffc-pay-processing-postgres}
POSTGRES_PASSWORD: ${POSTGRES_SCHEMA_PASSWORD:-ppp}
POSTGRES_PORT: 5432
POSTGRES_SCHEMA_NAME: ${POSTGRES_SCHEMA_NAME:-public}
POSTGRES_USERNAME: ${POSTGRES_SCHEMA_USERNAME:-postgres}
USE_MANUAL_LEDGER_CHECK: "true"
POSTGRES_LOGGING: "false"
PROCESSING_ACTIVE: ${PROCESSING_ACTIVE:-true}
ffc-pay-processing-postgres:
image: postgres:11.4-alpine
environment:
POSTGRES_DB: ffc_pay_processing
POSTGRES_PASSWORD: ppp
POSTGRES_USERNAME: postgres