-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (26 loc) · 921 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (26 loc) · 921 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
services:
mesh_sandbox:
container_name: mesh_sandbox
build: ./
ports:
- "8700:443"
deploy:
restart_policy:
condition: on-failure
max_attempts: 3
healthcheck:
test: curl -ksf https://localhost/health || exit 1
interval: 3s
timeout: 10s
environment:
- SHARED_KEY=TestKey
- SSL=yes
volumes:
# mount a different mailboxes.jsonl to pre created mailboxes
- ./src/mesh_sandbox/store/data/mailboxes.jsonl:/app/mesh_sandbox/store/data/mailboxes.jsonl:ro
- ./src/mesh_sandbox/test_plugin:/app/mesh_sandbox/plugins:ro
# you can mount a directory if you want access the stored messages
# - ./messages:/tmp/mesh_store
# you can also mount different server cert and key if using ssl and you need a trusted certificate
# - ./mycert.pem:/tmp/server-cert.pem:ro
# - ./mycert.key:/tmp/server-cert.key:ro