-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 1.28 KB
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 1.28 KB
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
services:
localstack:
container_name: localstack
image: "${LOCALSTACK_IMAGE:-localstack/localstack:4.7.0}"
restart: always
environment:
- PROVIDER_OVERRIDE_STEPFUNCTIONS=v2
- DEFAULT_REGION=eu-west-2
- DEBUG=1
- DYNAMODB_SHARE_DB=1
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
tmpfs:
- /var/lib/localstack:exec,mode=600
ports:
- "4569:4566" # edge service
healthcheck:
test: awslocal s3 ls && awslocal secretsmanager list-secrets
interval: 3s
timeout: 10s
mesh_sandbox:
build:
context: https://github.com/NHSDigital/mesh-sandbox.git#develop
ports:
- "8700:443"
deploy:
restart_policy:
condition: on-failure
max_attempts: 3
healthcheck:
test: curl -sfk https://localhost:443/health || exit 1
interval: 3s
timeout: 10s
environment:
- SSL=yes
- SSL_CRTFILE=/certs/crt.pem
- SSL_KEYFILE=/certs/key.pem
- SHARED_KEY=TestKey
volumes:
# mount a different mailboxes.jsonl to pre created mailboxes
- ./mesh_sandbox/store/data/mailboxes.jsonl:/app/mesh_sandbox/store/data/mailboxes.jsonl:ro
- ./scripts/self-signed-ca/certs/server/localhost:/certs