diff --git a/.local.env b/.local.env index 9d1cee2fe0..da7b6efa1b 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 a38e48757c..419b90cb4b 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"`