-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yaml
61 lines (58 loc) · 1.32 KB
/
docker-compose.yaml
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
version: '3'
services:
web:
build:
context: .
args:
BUILD_NUMBER: dev
GIT_REF: dev
ports:
- '3002:3002'
depends_on:
- oauth
- prisonApi
- whereaboutsapi
- redis
environment:
- UPDATE_ATTENDANCE_PRISONS='HLI,MDI,LEI'
- REDIS_HOST=redis
- REDIS_PORT=6379
- PORT=3002
oauth:
image: quay.io/hmpps/hmpps-auth:latest
container_name: oauth_psh
ports:
- '9090:8080'
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8080/auth/health']
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=dev
prisonApi:
image: quay.io/hmpps/prison-api:latest
container_name: prisonApi_psf
depends_on:
- oauth
ports:
- '8080:8080'
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8080/health']
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=nomis-hsqldb
whereaboutsapi:
image: 'quay.io/hmpps/whereabouts-api:latest'
container_name: whereaboutsapi
depends_on:
- oauth
ports:
- '8082:8082'
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:8080/health']
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=dev,noqueue
redis:
image: redis
ports:
- 6379:6379