Which config file to use
A description of the config file format is available here.
Select which config file to use
Butler Auth uses configuration files in YAML format. The config files are stored in the
Trying to run Butler Auth with the default config file (the one included in the files download from GitHub) will not work - you need to adapt it to your server environment.
The name of the config file matters. Butler Auth looks for an environment variable called “NODE_ENV” and then tries to load a config file named with the value found in NODE_ENV.
Butler will look for a config file
Setting environment variables
The method for setting environment variables varies between different operating systems:
Mac OS or Linux
If using Docker, the NODE_ENV environment varible is set in the docker-compose.yml file (as already done in the sample docker-compose file.)
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.