Skip to content
This repository has been archived by the owner on Feb 9, 2019. It is now read-only.

Override redis settings from application.conf in *.conf #146

Open
johdah opened this issue May 7, 2015 · 3 comments
Open

Override redis settings from application.conf in *.conf #146

johdah opened this issue May 7, 2015 · 3 comments

Comments

@johdah
Copy link

johdah commented May 7, 2015

I am trying to override my redis settings.

I have the usual redis.uri string in my application.conf but in a few cases we need to have another password. When I try to add the new redis.uri in test.conf as I do with MySQL the plugin still tries to connect to the uri specified in application.conf.

Is it something that I've missed or is it a bug?

@trumanw
Copy link

trumanw commented May 8, 2015

@johdah Could you please give more details about your application.conf?

For example, you may need to append include "test.conf" line after setting redis.uri in application.conf.

@johdah
Copy link
Author

johdah commented May 8, 2015

test.conf is an environment specific config that we use on our development server. We have include "application.conf" in the beginning of that file. So we override application.conf with the specific settings for the development server.

@johdah
Copy link
Author

johdah commented Jun 10, 2015

Shouldn't it be overriden then if I include application.conf before the custom settings in test.conf.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants