in internal/mode/advanced/git/gitaly.go [133:145]
func ReadConfig(repoPath, projectPath string) (*StorageConfig, error) {
data := strings.NewReader(os.Getenv("GITALY_CONNECTION_INFO"))
config := StorageConfig{
RelativePath: repoPath,
ProjectPath: projectPath,
LimitFileSize: defaultLimitFileSize,
}
err := json.NewDecoder(data).Decode(&config)
return &config, err
}