computer-playbook/templates/docker-redis-service.yml.j2

12 lines
234 B
Django/Jinja

redis:
image: redis:alpine
restart: always
logging:
driver: journald
volumes:
- redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30