-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.02 KB
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
version: '3.0'
services:
fact-api:
depends_on:
- fact-database
build:
context: .
args:
- http_proxy
- https_proxy
- no_proxy
image: hmctsprod.azurecr.io/fact/api:latest
environment:
# these environment variables are used by java-logging library
- ROOT_APPENDER
- JSON_CONSOLE_PRETTY_PRINT
- ROOT_LOGGING_LEVEL
- REFORM_SERVICE_TYPE
- REFORM_SERVICE_NAME
- REFORM_TEAM
- REFORM_ENVIRONMENT
- LOGBACK_DATE_FORMAT
- LOGBACK_REQUIRE_THREAD
- LOGBACK_REQUIRE_ALERT_LEVEL=false
- LOGBACK_REQUIRE_ERROR_CODE=false
- SPRING_DATASOURCE_URL=jdbc:postgresql://fact-database:5432/fact
- MAPIT_KEY=
ports:
- $SERVER_PORT:$SERVER_PORT
fact-database:
build:
context: docker/database
environment:
POSTGRES_DB: fact
POSTGRES_USER: fact
POSTGRES_PASSWORD: fact
ports:
- 5432:5432
volumes:
- fact-database:/var/lib/postgresql/data
volumes:
fact-database: