1 2 3 4 5 6 7 8 9 10
cache: image: redis:alpine restart: always ports: - "6379:6379" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 10s timeout: 3s retries: 3