-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
48 lines (45 loc) · 1.14 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
services:
offender-search:
image: quay.io/hmpps/probation-offender-search:latest
networks:
- hmpps
container_name: probation-offender-search
depends_on:
- localstack
ports:
- "8084:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=localstack,dev
- ELASTICSEARCH_HOST=localstack
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
localstack:
image: localstack/localstack:3
networks:
- hmpps
container_name: localstack
ports:
- 4566:4566
environment:
- SERVICES=sqs,sns,s3
- DEBUG=${DEBUG- }
- PERSISTENCE=1
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
hmpps: