Use environment variable for the redis url in cable.yml

Move redis url from cable.yml to dotenv.example
This commit is contained in:
AEtherC0r3 2017-11-09 17:43:41 +02:00 committed by Stella Rouzi
parent de646019fb
commit c21c9af60f
3 changed files with 5 additions and 1 deletions

View file

@ -6,4 +6,4 @@ test:
production:
adapter: redis
url: redis://localhost:6379/1
url: <%= ENV['OSEM_REDIS_URL'] %>