generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 1.29 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
45
46
47
48
49
50
51
#This is a depreciated file and will be removed in future versions. Please refer to the docker-readme for more information.
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
- 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
- OPAL_USER_SERVICE_API_URL=http://host.docker.internal:4555/
- 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.5
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: