mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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.
This commit is contained in:
parent
8598ea6f74
commit
98f55879d3
1 changed files with 1 additions and 0 deletions
|
@ -2,5 +2,6 @@
|
|||
set -eou pipefail
|
||||
|
||||
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 "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue