generated from DEFRA/ffc-template-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yaml
37 lines (33 loc) · 1.16 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
36
37
# This override file should be used when running this service in isolation
# to provide dependencies and expose ports for local testing
services:
aphw-ddi-api:
build:
target: development
image: aphw-ddi-api-development
container_name: aphw-ddi-api-development
ports:
- "3001:3000"
- "9230:9229"
volumes:
- ./app:/home/node/app
- ./package.json:/home/node/package.json
environment:
AZURE_STORAGE_CONNECTION_STRING: ${AZURE_STORAGE_CONNECTION_STRING:-DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://aphw-ddi-api-azurite:10000/devstoreaccount1;}
AZURE_STORAGE_USE_CONNECTION_STRING: "true"
depends_on:
- aphw-ddi-api-azurite
aphw-ddi-api-azurite:
command: "azurite-blob --skipApiVersionCheck --loose --blobHost 0.0.0.0 -l data"
volumes:
- azurite_data:/opt/azurite/data
ports:
- "10000:10000"
aphw-ddi-api-postgres:
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data:
azurite_data: