-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (31 loc) · 1010 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (31 loc) · 1010 Bytes
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
services:
mesh_sandbox:
build:
context: https://github.com/NHSDigital/mesh-sandbox.git#refs/tags/v1.0.27
ports:
- "8701:443"
deploy:
restart_policy:
condition: on-failure
max_attempts: 3
healthcheck:
test: curl -sf http://localhost:80/health || exit 1
interval: 3s
timeout: 10s
environment:
- SHARED_KEY=TestKey
- STORE_MODE=memory
- SSL=yes
volumes:
- ./tests/mailboxes.jsonl:/app/mesh_sandbox/store/data/mailboxes.jsonl:ro
- ./tests/workflows.jsonl:/app/mesh_sandbox/store/data/workflows.jsonl:ro
- ./tests/server.cert.pem:/tmp/server-cert.pem:ro
- ./tests/server.key.pem:/tmp/server-cert.key:ro
squid:
build: docker/squid
ports:
- "8019:3129" # this port doesn't require proxy_protocol header ( but might use 3128 for fargate )
healthcheck:
test: timeout 1 bash -c 'cat < /dev/null > /dev/tcp/localhost/3129' || exit 1
interval: 3s
timeout: 10s