[Redis] set password via docker-entrypoint.sh

This commit is contained in:
FreddleSpl0it committed 2024-11-19 14:25:31 +01:00
1 parent 89fb1322c6
commit c1903f121d
2 files changed
+8 -1

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
cat <<EOF > /redis.conf
requirepass $REDISPASS
EOF
exec redis-server /redis.conf