From: Sam Saffron Date: Thu, 21 Feb 2019 03:14:13 +0000 (+1100) Subject: FEATURE: disable protected mode in redis X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=281190efb367298f4134672ff25082a5a74fba9f;p=discourse_docker.git FEATURE: disable protected mode in redis We do not require protected mode in redis cause it runs in a container and is default protected. Protected mode breaks running our template in a multi container setup or certain users exposting redis from the container if they wish --- diff --git a/templates/redis.template.yml b/templates/redis.template.yml index c69a736..44bbca1 100644 --- a/templates/redis.template.yml +++ b/templates/redis.template.yml @@ -48,6 +48,11 @@ run: from: /^dir .*$/ to: "dir /shared/redis_data" + - replace: + filename: "/etc/redis/redis.conf" + from: /^protected-mode yes/ + to: "protected-mode no" + - exec: cmd: echo redis installed hook: redis