This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (63 loc) · 1.66 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
57
58
59
60
61
62
63
64
65
66
67
version: "3"
services:
hmpps-ciag-careers-induction-api:
build:
context: .
networks:
- hmpps
container_name: hmpps-ciag-careers-induction-api
ports:
- "8080:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health/ping"]
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=developer
# hmpps-auth:
# image: quay.io/hmpps/hmpps-auth:latest
# networks:
# - hmpps
# container_name: edu-hmpps-auth
# ports:
# - "8090:8080"
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:8080/auth/health"]
# environment:
# - SERVER_PORT=8080
# - SPRING_PROFILES_ACTIVE=dev
ciag-careers-db:
image: postgres
networks:
- hmpps
# network_mode: "host"
container_name: ciag-careers-db
restart: unless-stopped
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=ciag-careers
- POSTGRES_USER=ciag-careers
- POSTGRES_DB=ciag-careers
localstack:
image: localstack/localstack:0.14.0
networks:
- hmpps
container_name: localstack-ciag-careers-api
ports:
- "4566-4597:4566-4597"
- "8999:8080"
environment:
- SERVICES=sns,sqs
- DEBUG=${DEBUG- }
- DATA_DIR=${DATA_DIR- }
- PORT_WEB_UI=${PORT_WEB_UI- }
- LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR- }
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
- AWS_EXECUTION_ENV=True
- DEFAULT_REGION=eu-west-2
volumes:
- "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
hmpps: