generated from UK-Export-Finance/nestjs-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
51 lines (50 loc) · 1.16 KB
/
docker-compose.yml
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
49
50
version: '3.8'
services:
api:
build:
context: .
image: mdm-api
container_name: mdm-api
restart: always
command: npm run start:prod
ports:
- ${PORT}:${PORT}
volumes:
- ./:/app/src:rw
environment:
PORT:
NODE_ENV:
TZ:
LOG_LEVEL:
REDACT_LOGS:
SINGLE_LINE_LOG_FORMAT:
SWAGGER_USER:
SWAGGER_PASSWORD:
DATABASE_PORT:
DATABASE_USERNAME:
DATABASE_PASSWORD:
DATABASE_HOST:
DATABASE_MDM_NAME:
DATABASE_NUMBER_GENERATOR_NAME:
DATABASE_CEDAR_NAME:
DATABASE_CIS_NAME:
APIM_INFORMATICA_URL:
APIM_INFORMATICA_USERNAME:
APIM_INFORMATICA_PASSWORD:
APIM_INFORMATICA_MAX_REDIRECTS:
APIM_INFORMATICA_TIMEOUT:
ORDNANCE_SURVEY_URL:
ORDNANCE_SURVEY_KEY:
ORDNANCE_SURVEY_MAX_REDIRECTS:
ORDNANCE_SURVEY_TIMEOUT:
COMPANIES_HOUSE_URL:
COMPANIES_HOUSE_KEY:
COMPANIES_HOUSE_MAX_REDIRECTS:
COMPANIES_HOUSE_TIMEOUT:
API_KEY:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:${PORT}"]
retries: 3
interval: 60s
timeout: 10s
start_period: 30s