From 9ed0df9e9205154d3b764c53c315a5e3fd66d93c Mon Sep 17 00:00:00 2001 From: Arvind Choudhary Date: Thu, 22 Aug 2024 21:46:01 +0000 Subject: [PATCH] [AH-309]: Updated config to make Registry enabled by default (#2570) * [AH-309]: Enabled Registry by default via config * [AH-309]: Enabled Registry by default via config * [AH-309]: Updated config to make Registry enabled by default --- .local.env | 1 - types/config.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.local.env b/.local.env index 9d1cee2fe..da7b6efa1 100644 --- a/.local.env +++ b/.local.env @@ -13,5 +13,4 @@ GITNESS_SSH_HOST=localhost GITNESS_SSH_PORT=2222 GITNESS_REGISTRY_STORAGE_TYPE=filesystem -GITNESS_REGISTRY_ENABLED=false GITNESS_REGISTRY_FILESYSTEM_ROOT_DIRECTORY=/tmp diff --git a/types/config.go b/types/config.go index a38e48757..419b90cb4 100644 --- a/types/config.go +++ b/types/config.go @@ -428,7 +428,7 @@ type Config struct { } Registry struct { - Enable bool `envconfig:"GITNESS_REGISTRY_ENABLED" default:"false"` + Enable bool `envconfig:"GITNESS_REGISTRY_ENABLED" default:"true"` Storage struct { // StorageType defines the type of storage to use for the registry. Options are: `filesystem`, `s3aws` StorageType string `envconfig:"GITNESS_REGISTRY_STORAGE_TYPE" default:"filesystem"`