docs and descriptions for s3 settings
This commit is contained in:
parent
4301ae3861
commit
b1b8f5f11a
2 changed files with 50 additions and 7 deletions
|
|
@ -2579,8 +2579,7 @@ config :pleroma, :config_description, [
|
|||
%{
|
||||
key: :enabled,
|
||||
type: :boolean,
|
||||
description: "Enables new users admin digest email when `true`",
|
||||
suggestions: [false]
|
||||
description: "Enables new users admin digest email when `true`"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -3444,8 +3443,7 @@ config :pleroma, :config_description, [
|
|||
key: :strict,
|
||||
type: :boolean,
|
||||
description:
|
||||
"Enables strict input validation (useful in development, not recommended in production)",
|
||||
suggestions: [false]
|
||||
"Enables strict input validation (useful in development, not recommended in production)"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -3461,5 +3459,31 @@ config :pleroma, :config_description, [
|
|||
description: "Allow/disallow displaying and getting instances favicons"
|
||||
}
|
||||
]
|
||||
},
|
||||
%{
|
||||
group: :ex_aws,
|
||||
key: :s3,
|
||||
type: :group,
|
||||
descriptions: "S3 service related settings",
|
||||
children: [
|
||||
%{
|
||||
key: :access_key_id,
|
||||
type: :string,
|
||||
description: "S3 access key ID",
|
||||
suggestions: ["AKIAQ8UKHTGIYN7DMWWJ"]
|
||||
},
|
||||
%{
|
||||
key: :secret_access_key,
|
||||
type: :string,
|
||||
description: "Secret access key",
|
||||
suggestions: ["JFGt+fgH1UQ7vLUQjpW+WvjTdV/UNzVxcwn7DkaeFKtBS5LvoXvIiME4NQBsT6ZZ"]
|
||||
},
|
||||
%{
|
||||
key: :host,
|
||||
type: :string,
|
||||
description: "S3 host",
|
||||
suggestions: ["s3.eu-central-1.amazonaws.com"]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue