Commit 98f55879 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

fix(docker): don't run redis with protected mode

For our development setup we run a redis container without a
username/password. Redis recently set protected mode by default which
disallows this, turn it off as it has no security implication.
parent 8598ea6f
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
set -eou pipefail set -eou pipefail
sed -ri 's/^bind .*$/bind 0.0.0.0 -::1/g' /etc/redis/redis.conf sed -ri 's/^bind .*$/bind 0.0.0.0 -::1/g' /etc/redis/redis.conf
sed -ri 's/protected-mode yes/protected-mode no/g' /etc/redis/redis.conf
exec "$@" exec "$@"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment