generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-local.yml
89 lines (83 loc) · 2.16 KB
/
docker-compose-local.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
services:
hmpps-auth:
image: quay.io/hmpps/hmpps-auth:latest
networks:
- hmpps
container_name: hmpps-auth
ports:
- "9090:8080"
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/auth/health/ping" ]
environment:
- SPRING_PROFILES_ACTIVE=dev
- APPLICATION_AUTHENTICATION_UI_ALLOWLIST=0.0.0.0/0
- DELIUS_ENABLED=false
- NOMIS_ENABLED=false
prison-person-data-db:
image: postgres
networks:
- hmpps
container_name: prison-person-data-db
restart: unless-stopped
ports:
- "9432:5432"
environment:
- POSTGRES_PASSWORD=prison-person-data
- POSTGRES_USER=prison-person-data
- POSTGRES_DB=prison-person-data
- TZ="Europe/London"
localstack:
image: localstack/localstack:latest
networks:
- hmpps
container_name: localstack
ports:
- "4567:4566"
environment:
- SERVICES=sqs,sns,s3
- DEBUG=${DEBUG-}
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
document-service:
image: quay.io/hmpps/hmpps-document-management-api:latest
networks:
- hmpps
container_name: document-service
ports:
- "8081:8080"
environment:
- SPRING_PROFILES_ACTIVE=dev
- DB_NAME=document-service
- DB_SERVER=document-service-db
- DB_USER=document-service
- DB_PASS=document-service
- DB_SSL_MODE=prefer
- AWS_S3_ENDPOINT=localstack
- HMPPS_AUTH_URL=https://sign-in-dev.hmpps.service.justice.gov.uk/auth
- AWS_REGION=eu-west-2
depends_on:
localstack:
condition: service_healthy
document-service-db:
image: postgres
networks:
- hmpps
container_name: document-service-db
restart: unless-stopped
ports:
- "9433:5432"
environment:
- POSTGRES_PASSWORD=document-service
- POSTGRES_USER=document-service
- POSTGRES_DB=document-service
- TZ="Europe/London"
clamav:
image: ghcr.io/ministryofjustice/hmpps-clamav-freshclammed:latest
networks:
- hmpps
container_name: clamav
ports:
- "3310:3310"
networks:
hmpps: