-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
33 lines (31 loc) · 1.63 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
services:
ffc-pay-data-hub:
build:
context: .
target: production
image: ffc-pay-data-hub
container_name: ffc-pay-data-hub
environment:
APPINSIGHTS_CLOUDROLE: ffc-pay-data-hub-local
APPINSIGHTS_CONNECTIONSTRING: ${APPINSIGHTS_CONNECTIONSTRING}
AZURE_STORAGE_USE_CONNECTION_STRING: "true"
AZURE_STORAGE_CONNECTION_STRING: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://ffc-pay-event-store-azurite:10000/devstoreaccount1;TableEndpoint=http://ffc-pay-event-store-azurite:10002/devstoreaccount1;
AZURE_STORAGE_ACCOUNT_NAME: devstoreaccount1
AZURE_STORAGE_CREATE_ENTITIES: "true"
MESSAGE_QUEUE_HOST: ${MESSAGE_QUEUE_HOST}
MESSAGE_QUEUE_PASSWORD: ${MESSAGE_QUEUE_PASSWORD}
MESSAGE_QUEUE_USER: ${MESSAGE_QUEUE_USER}
DATA_TOPIC_ADDRESS: ${DATA_TOPIC_ADDRESS:-ffc-pay-data-request}${MESSAGE_QUEUE_SUFFIX}
DATA_SUBSCRIPTION_ADDRESS: ${DATA_SUBSCRIPTION_ADDRESS:-ffc-pay-data-hub}${MESSAGE_QUEUE_SUFFIX}
DATARESPONSE_QUEUE_ADDRESS: ${DATARESPONSE_QUEUE_ADDRESS:-ffc-pay-data-request-response}${MESSAGE_QUEUE_SUFFIX}
REDIS_HOSTNAME: ffc-pay-data-hub-redis
depends_on:
- ffc-pay-event-store-azurite
- ffc-pay-data-hub-redis
ffc-pay-event-store-azurite:
image: mcr.microsoft.com/azure-storage/azurite:3.32.0
command: "azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --loose"
labels:
com.docker.compose.pay.role: ffc-pay-event-store-azurite
ffc-pay-data-hub-redis:
image: redis:4.0.14