refactored redis implementation

This commit is contained in:
2023-12-26 16:40:19 +01:00
parent dae2a821aa
commit 5b9aa582ab
9 changed files with 36 additions and 62 deletions

View File

@@ -2,20 +2,9 @@ version: '2.2'
services:
# External dependencies
redis:
image: redis:alpine
restart: always
{% include 'templates/docker-redis-service.yml.j2' %}
env_file: mailu.env
volumes:
- "redis_data:/data"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30
logging:
driver: journald
depends_on:
- resolver
dns:
@@ -223,7 +212,7 @@ volumes:
filter:
dkim:
dovecot_mail:
redis_data:
redis:
networks:
default:
driver: bridge