Skip to content

Commit fa6b7a4

Browse files
authored
add healthcheck to Redis
1 parent 92bb9ca commit fa6b7a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose.yml

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ services:
3333
env_file:
3434
- msc-wis2node.env
3535
restart: unless-stopped
36+
healthcheck:
37+
test: ["CMD", "redis-cli", "ping"]
38+
interval: 5s
39+
retries: 100
3640
<<: *logging
3741

3842
msc-wis2node-management:

0 commit comments

Comments
 (0)