-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Ensuring that the ActionCable is mounted for the staging, qa, and pro…
…duction environments. Ensuring that ActionCable uses Redis (#862) Co-authored-by: Hector Correa <[email protected]>
1 parent
6bd133e
commit 00d90f7
Showing
6 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
--- | ||
development: | ||
adapter: async | ||
|
||
test: | ||
adapter: test | ||
|
||
production: | ||
staging: &staging | ||
adapter: redis | ||
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> | ||
channel_prefix: tiger_data_app_production | ||
url: redis://<%= ENV['TIGER_DATA_REDIS_URL'] || 'localhost' %>:<%= ENV['TIGER_DATA_REDIS_PORT'] || '6379' %>/<%= ENV['TIGER_DATA_REDIS_DB'] || 0 %> | ||
channel_prefix: tigerdata_staging | ||
|
||
qa: | ||
<<: *staging | ||
channel_prefix: tigerdata_qa | ||
|
||
production: | ||
<<: *staging | ||
channel_prefix: tigerdata_production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,6 @@ | |
resources :projects, only: [:index] | ||
end | ||
end | ||
|
||
mount ActionCable.server => "/cable" | ||
end |