mirror of
https://github.com/ArcticFoxes-net/Coturn-Docker-Compose
synced 2024-12-22 05:11:34 -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
|
||||
ports:
|
||||
- "127.0.0.1:6379:6379"
|
||||
healthcheck:
|
||||
test: redis-cli ping
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
user: "999:1000"
|
||||
read_only: true
|
||||
security_opt:
|
||||
|
Loading…
Reference in New Issue
Block a user