mirror of
https://github.com/harness/drone.git
synced 2025-05-02 22:43:44 +08:00
[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
This commit is contained in:
parent
25d91247c2
commit
9ed0df9e92
@ -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
|
||||
|
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user