Skip to content

Commit

Permalink
support REDIS_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
p-wall committed Jun 13, 2024
1 parent d2a820d commit 8b4ee7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/cable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ production:
adapter: redis
<%
port = ENV["DEVBOX"] ? `service_port redis`.strip : 6379
url = URI.parse(ENV["REDISCLOUD_URL"] || "redis://localhost:#{port}")
url = URI.parse(ENV["REDISCLOUD_URL"] || ENV["REDIS_URL"] || "redis://localhost:#{port}")
%>
url: <%= url %>
channel_prefix: pipeline_production

0 comments on commit 8b4ee7a

Please sign in to comment.