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