From 293a75803e9b8e76b755a4c904670195a03982ea Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 12 Oct 2020 21:27:44 +0200 Subject: [PATCH] Change default config path --- internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 7039523..091a3f4 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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"), )