Add redis healthcheck

see #58
This commit is contained in:
Jakob Berlin 2021-02-17 23:30:48 +01:00 committed by GitHub
parent fcccf8145e
commit de96138e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,11 @@ services:
redis:
image: redis:6.0-alpine
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30
networks:
bbb-net:
ipv4_address: 10.7.7.5