diff --git a/cmd/serve.go b/cmd/serve.go index 58fedb4..2897769 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -110,6 +110,8 @@ func init() { } func startServers(serv sd.IService) error { + viper.BindEnv("server.ipcPath", "SERVER_IPC_PATH") + viper.BindEnv("server.httpPath", "SERVER_HTTP_PATH") ipcPath := viper.GetString("server.ipcPath") httpPath := viper.GetString("server.httpPath") if ipcPath == "" && httpPath == "" {