generated from ministryofjustice/hmpps-template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
45 lines (41 loc) · 1.04 KB
/
docker-compose-dev.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
version: '3.1'
services:
redis:
image: 'redis:7.4'
networks:
- hmpps
container_name: redis
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '6379:6379'
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"]
environment:
- SPRING_PROFILES_ACTIVE=dev
- APPLICATION_AUTHENTICATION_UI_ALLOWLIST=0.0.0.0/0
manage-users-api:
image: quay.io/hmpps/hmpps-manage-users-api:latest
networks:
- hmpps
container_name: manage-users-api_mhaa
depends_on:
- hmpps-auth
ports:
- "9091:8080"
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/health" ]
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
- HMPPS_AUTH_ENDPOINT_URL=http://hmpps-auth:8080/auth
- EXTERNAL_USERS_ENDPOINT_URL=http://hmpps-external-users-api:8080
networks:
hmpps: