projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303eb03
)
FEATURE: disable protected mode in redis
author
Sam Saffron
<sam.saffron@gmail.com>
Thu, 21 Feb 2019 03:14:13 +0000
(14:14 +1100)
committer
Sam Saffron
<sam.saffron@gmail.com>
Thu, 21 Feb 2019 03:14:13 +0000
(14:14 +1100)
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
templates/redis.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/redis.template.yml
b/templates/redis.template.yml
index c69a7360d02594cd01b128d469a92abe80d6239e..44bbca1fd80f968107d2b55e82903d89b9124ee4 100644
(file)
--- 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