generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
38 lines (36 loc) · 1 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:
notifications-service:
build:
context: .
args:
- http_proxy
- https_proxy
- no_proxy
image: hmctspublic.azurecr.io/notifications-service/api
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
ports:
- $SERVER_PORT:$SERVER_PORT
ccpay-notifications-service-db:
container_name: ccpay-notifications-service-db
image: postgres:16-alpine
environment:
- POSTGRES_USER=notifications
- POSTGRES_PASSWORD=notifications
- POSTGRES_DB=notifications
ports:
- 5182:5432
volumes:
- ccpay-notifications-service-db-data:/var/lib/postgresql/data