configuration.md
changeset 231 d5b3fb928f0f
parent 143 abfa3aa97b51
equal deleted inserted replaced
219:c38de37df0da 231:d5b3fb928f0f
     9 Note that every variable from the configration file can also be set with an
     9 Note that every variable from the configration file can also be set with an
    10 environment variable (e.g. `export MADONCTL_INSTANCE='https://mamot.fr'`).
    10 environment variable (e.g. `export MADONCTL_INSTANCE='https://mamot.fr'`).
    11 
    11 
    12 ## Configuration file
    12 ## Configuration file
    13 
    13 
    14 The configuration file is usually located in the `$HOME/.config/madonctl`
    14 The default configuration file is located at `$HOME/.config/madonctl/madonctl.yaml`.
    15 directory.
       
    16 
    15 
    17 We use [viper](http://spf13.com/project/viper), so you can use the format you
    16 We use [viper](http://spf13.com/project/viper), so you can use the format you
    18 prefer between YAML, TOML or JSON.  The examples use the YAML format so the
    17 prefer between YAML, TOML or JSON.  The examples use the YAML format so the
    19 configuration file will be named `madonctl.yaml`.
    18 configuration file will be named `madonctl.yaml`.
    20 
    19