Skip to content

Commit

Permalink
Update docs/reference/configuration.md
Browse files Browse the repository at this point in the history
Co-authored-by: arielshaqed <ariels@treeverse.io>
  • Loading branch information
nopcoder and arielshaqed committed Aug 23, 2021
1 parent f5f1cc4 commit acbc3bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ has_children: false
{% include toc.html %}

Configuring lakeFS is done using a yaml configuration file and/or environment variable.
The configuration file location can be set with the '--config' flag. It will lookup, load, and use the first file found in the following order:
The configuration file location can be set with the '--config' flag. If not specified, the the first file found in the following order will be used:
1. ./config.yaml
1. `<home directory>`/lakefs/config.yaml
1. `$HOME`/lakefs/config.yaml
1. /etc/lakefs/config.yaml
1. `<home directory>`/.lakefs.yaml
1. `$HOME`/.lakefs.yaml

Configuration items can each be controlled by an environment variable. The variable name will have a prefix of *LAKEFS_*, followed by the name of the configuration, replacing every '.' with a '_'.
Example: `LAKEFS_LOGGING_LEVEL` controls `logging.format`.
Expand Down

0 comments on commit acbc3bc

Please sign in to comment.