[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
pull/3545/head v3.0.0-beta.9
Arvind Choudhary 2024-08-22 21:46:01 +00:00 committed by Harness
parent 25d91247c2
commit 9ed0df9e92
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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"`