Local FS
Provides data from config files location on local file storage.
system: config provider: fs introduced in v0.1
Default config provider which loads yaml
files from local file storage.
Provider iterates over all nested folder and looking for files with .yaml
extension.
If a name of a file starts from _
, it’s ignored.
Configuration options
Param | Required | Type | Default | Description |
---|---|---|---|---|
location | string | cur_dir/configs |
Root folder containing config files |
Example
The following example will load files from /data/go-home
folder:
./go-home \
-c provider:fs \
-c location:/data/go-home