-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
52 lines (49 loc) · 1.07 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
51
52
---
version: '2.1'
services:
claim-store-api:
build:
context: .
args:
- http_proxy
- https_proxy
- no_proxy
image: hmctspublic.azurecr.io/cmc/claim-store
environment:
- CMC_DB_HOST=cmc-database
- CMC_DB_PORT=5432
- CMC_DB_USERNAME
- CMC_DB_PASSWORD
- CLAIM_STORE_TEST_SUPPORT_ENABLED
- GOV_NOTIFY_API_KEY
- FRONTEND_BASE_URL
- IDAM_SECRET_KEY
- ROOT_APPENDER
- JSON_CONSOLE_PRETTY_PRINT
- ROOT_LOGGING_LEVEL
- REFORM_SERVICE_NAME
- REFORM_TEAM
- REFORM_ENVIRONMENT
volumes:
- ./build/install/claim-store:/opt/app/
ports:
- 4400:4400
links:
- cmc-database
cmc-database:
build:
context: docker/database
image: hmctspublic.azurecr.io/cmc/cmc-database
healthcheck:
interval: 10s
timeout: 10s
retries: 10
environment:
- CMC_DB_USERNAME
- CMC_DB_PASSWORD
ports:
- 5430:5432
volumes:
- cmc-database-data:/var/lib/postgresql/data
volumes:
cmc-database-data: