Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Don't depend on pwd #1

Closed
wellle opened this issue Aug 26, 2015 · 1 comment
Closed

Don't depend on pwd #1

wellle opened this issue Aug 26, 2015 · 1 comment

Comments

@wellle
Copy link
Member

wellle commented Aug 26, 2015

Currently elastex only works in directories that contain a config.yml. To make it work everywhere there are a couple of possible solutions:

  • try in this order: ./.elastexrc, ~/.elastexrc, /etc/elastexrc
  • add flag --config myconfigfile
  • use a environment variable like $ELASTEXRC
ferki added a commit that referenced this issue Feb 19, 2016
ferki added a commit that referenced this issue Feb 19, 2016
While a configuration file specified on the CLI has precedence over it.
@ferki ferki closed this as completed in 6ccc356 Jul 14, 2016
@ferki
Copy link
Contributor

ferki commented Jul 14, 2016

The configuration behaviour is now documented on the (Configuring elastex)[https://github.com/adjust/elastex/wiki/Configuring-elastex] wiki page.

Note: for now it still tries to look for ./config.yml first for backwards compatibility, but we can deprecate that in favor of ./.elastexrc.

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