-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdata_store.yml
More file actions
37 lines (35 loc) · 837 Bytes
/
data_store.yml
File metadata and controls
37 lines (35 loc) · 837 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
36
37
services:
# Distributed Lock Manager
dlm-redis:
image: "redis:7.4"
restart: always
volumes:
- dlm-redis-data:/data
ports:
- "6379:6379"
# RedisInsight
# - "8001:8001"
healthcheck:
# TODO: test for writes to get through, not just ping-pong drill?
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
interval: 3s
timeout: 3s
retries: 5
start_period: 10s
mongo:
image: "mongo:8.0"
restart: always
volumes:
- mongo-data:/data/db
ports:
- "27017:27017"
healthcheck:
# TODO: test for writes to get through, not just ping-pong drill?
test: ["CMD","mongosh", "--eval", "db.adminCommand('ping')"]
interval: 3s
timeout: 3s
retries: 5
start_period: 10s
volumes:
dlm-redis-data:
mongo-data: