generated from DEFRA/ffc-template-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yaml
35 lines (31 loc) · 1.29 KB
/
docker-compose.override.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
# This override file should be used when running this service in isolation
# to provide dependencies and expose ports for local testing
services:
ffc-pay-demographics:
build:
target: development
image: ffc-pay-demographics-development
container_name: ffc-pay-demographics-development
environment:
AZURE_STORAGE_CONNECTION_STRING: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://ffc-pay-demographics-azurite:10000/devstoreaccount1;
DEMOGRAPHICS_STORAGE_CONNECTION_STRING: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://ffc-pay-demographics-azurite:10000/devstoreaccount1;
ports:
- "9111:9229"
volumes:
- ./app:/home/node/app
- ./package.json:/home/node/package.json
depends_on:
- ffc-pay-demographics-azurite
ffc-pay-demographics-azurite:
volumes:
- azurite_data:/data
ports:
- "10022:10000"
ffc-pay-demographics-postgres:
ports:
- "5423:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
azurite_data:
postgres_data: