mirror of
https://github.com/ArcticFoxes-net/Coturn-Docker-Compose
synced 2024-11-09 18:01:33 -05:00
Add healthcheck for Redis
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
e99106e13a
commit
1ba937ac89
@ -25,6 +25,11 @@ services:
|
|||||||
- redis:/data
|
- redis:/data
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:6379:6379"
|
- "127.0.0.1:6379:6379"
|
||||||
|
healthcheck:
|
||||||
|
test: redis-cli ping
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 2
|
||||||
user: "999:1000"
|
user: "999:1000"
|
||||||
read_only: true
|
read_only: true
|
||||||
security_opt:
|
security_opt:
|
||||||
|
Loading…
Reference in New Issue
Block a user