mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-28 14:58:31 +09:00
parent
648d645c2f
commit
ca9192d9ba
@ -107,9 +107,16 @@ namespace :mastodon do
|
|||||||
q.convert :int
|
q.convert :int
|
||||||
end
|
end
|
||||||
|
|
||||||
|
env['REDIS_PASSWORD'] = prompt.ask('Redis password:') do |q|
|
||||||
|
q.required false
|
||||||
|
a.default nil
|
||||||
|
q.modify :strip
|
||||||
|
end
|
||||||
|
|
||||||
redis_options = {
|
redis_options = {
|
||||||
host: env['REDIS_HOST'],
|
host: env['REDIS_HOST'],
|
||||||
port: env['REDIS_PORT'],
|
port: env['REDIS_PORT'],
|
||||||
|
password: env['REDIS_PASSWORD'],
|
||||||
driver: :hiredis,
|
driver: :hiredis,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user