1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-02 03:38:23 +02:00

[Redis] Rename docker-entrypoint.sh to redis-conf.sh

This commit is contained in:
FreddleSpl0it 2024-11-19 14:54:36 +01:00
parent c1903f121d
commit b0de756a7c
No known key found for this signature in database
GPG Key ID: 00E14E7634F4BEC5
2 changed files with 3 additions and 2 deletions

View File

@ -3,4 +3,5 @@
cat <<EOF > /redis.conf cat <<EOF > /redis.conf
requirepass $REDISPASS requirepass $REDISPASS
EOF EOF
exec redis-server /redis.conf exec redis-server /redis.conf

View File

@ -43,10 +43,10 @@ services:
redis-mailcow: redis-mailcow:
image: redis:7-alpine image: redis:7-alpine
entrypoint: /docker-entrypoint.sh entrypoint: /redis-conf.sh
volumes: volumes:
- redis-vol-1:/data/ - 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 restart: always
depends_on: depends_on:
- netfilter-mailcow - netfilter-mailcow