Change default config path

This commit is contained in:
Alexandre Iooss 2020-10-12 21:27:44 +02:00
parent 407d565927
commit 293a75803e
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ func Load() (*Config, error) {
// Create Configuro
config, err := configuro.NewConfig(
configuro.WithLoadFromEnvVars("GHOSTREAM"),
configuro.WithLoadFromConfigFile("./ghostream.yml", false),
configuro.WithLoadFromConfigFile("/etc/ghostream/ghostream.yml", false),
configuro.WithEnvConfigPathOverload("GHOSTREAM_CONFIG"),
)