mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
refactored redis implementation
This commit is contained in:
12
templates/docker-redis-service.yml.j2
Normal file
12
templates/docker-redis-service.yml.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
logging:
|
||||
driver: journald
|
||||
volumes:
|
||||
- redis:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 1s
|
||||
timeout: 3s
|
||||
retries: 30
|
Reference in New Issue
Block a user