mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 00:41:06 +01:00
16 lines
389 B
Django/Jinja
16 lines
389 B
Django/Jinja
# This template needs to be included in docker-compose.yml, which depend on redis
|
|
redis:
|
|
image: redis:alpine
|
|
restart: always
|
|
logging:
|
|
driver: journald
|
|
volumes:
|
|
- redis:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 1s
|
|
timeout: 3s
|
|
retries: 30
|
|
networks:
|
|
- {{docker_compose_project_name}}_network
|
|
{{ "\n" }} |