generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 1.29 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
53
54
55
56
57
services:
opal-fines-service:
container_name: opal-fines-service
build:
context: .
args:
- http_proxy
- https_proxy
- no_proxy
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
- OPAL_FINES_DB_HOST=opal-fines-db
- OPAL_LEGACY_GATEWAY_URL=http://host.docker.internal:4553/opal
- TESTING_SUPPORT_ENDPOINTS_ENABLED=true
- OPAL_REDIS_ENABLED=false
ports:
- "4550:4550"
depends_on:
- redis
opal-fines-db:
container_name: opal-fines-db
image: postgres:17
restart: always
environment:
- POSTGRES_DB=opal-fines-db
- POSTGRES_USER=opal-fines
- POSTGRES_PASSWORD=opal-fines
ports:
- "5432:5432"
volumes:
- opal-database-data:/var/lib/postgresql/data
redis:
container_name: redis
image: redis
ports:
- "6379:6379"
volumes:
- redis-data:/data
volumes:
opal-database-data:
redis-data: