-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
60 lines (56 loc) · 1.43 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
58
59
60
version: "3"
services:
offender-search:
image: ghcr.io/ministryofjustice/probation-offender-search:latest
networks:
- hmpps
container_name: probation-offender-search
depends_on:
- opensearch
ports:
- "8084:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=opensearch,dev
oauth:
image: quay.io/hmpps/hmpps-auth:latest
networks:
- hmpps
container_name: oauth
ports:
- "8090:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/auth/health"]
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
community-api:
image: quay.io/hmpps/community-api:latest
networks:
- hmpps
container_name: community-api
ports:
- "8096:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
opensearch:
container_name: opensearch
image: opensearchproject/opensearch:2.5.0
networks:
- hmpps
environment:
- node.name=opensearch
- cluster.name=probation-search-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- plugins.security.disabled=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
networks:
hmpps: