configuration.md
changeset 233 a141105804f7
parent 231 d5b3fb928f0f
equal deleted inserted replaced
230:c961191a6b8f 233:a141105804f7
     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