forked from hmcts/em-native-pdf-annotator-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
39 lines (36 loc) · 1.23 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
version: '2.1'
services:
rpa-native-pdf-annotator-app:
build:
context: .
# image: hmcts/rpa-native-pdf-annotator-app:latest
environment:
- SERVER_PORT=8080
- SPRING_DATASOURCE_URL=jdbc:postgresql://rpa-native-pdf-annotator-db:5432/rpanativepdfannotatorapp
- SPRING_DATASOURCE_USERNAME=rpanativepdfannotatorapp
- SPRING_DATASOURCE_PASSWORD=rpanativepdfannotatorapp
- IDAM_USER_BASE_URI=http://idam-api:8080
- IDAM_S2S_BASE_URI=http://service-auth-provider-api:8080
- APPINSIGHTS_INSTRUMENTATIONKEY=test_app
# these environment variables are used by java-logging library
- ROOT_APPENDER=JSON_CONSOLE
- JSON_CONSOLE_PRETTY_PRINT=false
- ROOT_LOGGING_LEVEL
- REFORM_SERVICE_TYPE=java
- REFORM_SERVICE_NAME=rpa-native-pdf-annotator-app
- REFORM_TEAM=em-npa
- REFORM_ENVIRONMENT=docker
links:
- rpa-native-pdf-annotator-db
depends_on:
- rpa-native-pdf-annotator-db
ports:
- $SERVER_PORT:8080
rpa-native-pdf-annotator-db:
image: postgres
environment:
- POSTGRES_USER=rpanativepdfannotatorapp
- POSTGRES_PASSWORD=rpanativepdfannotatorapp
- POSTGRES_DB=rpanativepdfannotatorapp
ports:
- 5433:5432