mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-27 03:56:36 +00:00
[Redis] set password via docker-entrypoint.sh
This commit is contained in:
parent
89fb1322c6
commit
c1903f121d
2 changed files with 8 additions and 1 deletions
6
data/conf/redis/docker-entrypoint.sh
Executable file
6
data/conf/redis/docker-entrypoint.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
cat <<EOF > /redis.conf
|
||||
requirepass $REDISPASS
|
||||
EOF
|
||||
exec redis-server /redis.conf
|
||||
Loading…
Add table
Add a link
Reference in a new issue