mirror of https://github.com/harness/drone.git
[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 defaultpull/3545/head v3.0.0-beta.9
parent
25d91247c2
commit
9ed0df9e92
|
@ -13,5 +13,4 @@ GITNESS_SSH_HOST=localhost
|
||||||
GITNESS_SSH_PORT=2222
|
GITNESS_SSH_PORT=2222
|
||||||
|
|
||||||
GITNESS_REGISTRY_STORAGE_TYPE=filesystem
|
GITNESS_REGISTRY_STORAGE_TYPE=filesystem
|
||||||
GITNESS_REGISTRY_ENABLED=false
|
|
||||||
GITNESS_REGISTRY_FILESYSTEM_ROOT_DIRECTORY=/tmp
|
GITNESS_REGISTRY_FILESYSTEM_ROOT_DIRECTORY=/tmp
|
||||||
|
|
|
@ -428,7 +428,7 @@ type Config struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
Registry struct {
|
Registry struct {
|
||||||
Enable bool `envconfig:"GITNESS_REGISTRY_ENABLED" default:"false"`
|
Enable bool `envconfig:"GITNESS_REGISTRY_ENABLED" default:"true"`
|
||||||
Storage struct {
|
Storage struct {
|
||||||
// StorageType defines the type of storage to use for the registry. Options are: `filesystem`, `s3aws`
|
// StorageType defines the type of storage to use for the registry. Options are: `filesystem`, `s3aws`
|
||||||
StorageType string `envconfig:"GITNESS_REGISTRY_STORAGE_TYPE" default:"filesystem"`
|
StorageType string `envconfig:"GITNESS_REGISTRY_STORAGE_TYPE" default:"filesystem"`
|
||||||
|
|
Loading…
Reference in New Issue