From b0de756a7c741c1fd2ff560783833620b6878573 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Tue, 19 Nov 2024 14:54:36 +0100 Subject: [PATCH] [Redis] Rename docker-entrypoint.sh to redis-conf.sh --- data/conf/redis/{docker-entrypoint.sh => redis-conf.sh} | 1 + docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename data/conf/redis/{docker-entrypoint.sh => redis-conf.sh} (98%) diff --git a/data/conf/redis/docker-entrypoint.sh b/data/conf/redis/redis-conf.sh similarity index 98% rename from data/conf/redis/docker-entrypoint.sh rename to data/conf/redis/redis-conf.sh index 00bdab1b6..95d50a39a 100755 --- a/data/conf/redis/docker-entrypoint.sh +++ b/data/conf/redis/redis-conf.sh @@ -3,4 +3,5 @@ cat < /redis.conf requirepass $REDISPASS EOF + exec redis-server /redis.conf diff --git a/docker-compose.yml b/docker-compose.yml index 6d32da7d0..226c48ac8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,10 +43,10 @@ services: redis-mailcow: image: redis:7-alpine - entrypoint: /docker-entrypoint.sh + entrypoint: /redis-conf.sh volumes: - redis-vol-1:/data/ - - ./data/conf/redis/docker-entrypoint.sh:/docker-entrypoint.sh:z + - ./data/conf/redis/redis-conf.sh:/redis-conf.sh:z restart: always depends_on: - netfilter-mailcow