-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
56 lines (51 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
49
50
51
52
53
54
55
56
services:
redis:
image: 'bitnami/redis:7.4.1'
networks:
- hmpps
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '6379:6379'
hmpps-auth:
image: quay.io/hmpps/hmpps-auth:latest
networks:
- hmpps
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
wiremock:
image: wiremock/wiremock
networks:
- hmpps
restart: always
ports:
- "9092:8080"
app:
build: .
networks:
- hmpps
depends_on: [ redis ]
ports:
- "3000:3000"
environment:
- REDIS_HOST=redis
- HMPPS_AUTH_EXTERNAL_URL=http://localhost:9090/auth
- HMPPS_AUTH_URL=http://hmpps-auth:8080/auth
# These will need to match new creds in the seed auth service auth
- API_CLIENT_ID=client-id
- API_CLIENT_SECRET=client-secret
- SYSTEM_CLIENT_ID=system-client-id
- SYSTEM_CLIENT_SECRET=system-client-secret
networks:
hmpps: