1
0
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:
Tommy 2022-11-25 03:13:06 -05:00
parent e99106e13a
commit 1ba937ac89
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -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: