...
Die Zugangsdaten für den S3-Server werden nicht in einer Config-Tabelle, sondern in ENV-Variablen gespeichert.
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
's3' => [
'is_active' => (bool) getenv(S3_IS_ACTIVE),
'use_path_style_endpoint' => (bool) getenv(S3_USE_PATH_STYLE_ENDPOINT),
'endpoint' => getenv(S3_ENDPOINT),
'region' => getenv(S3_REGION),
'bucket' => getenv(S3_BUCKET),
'credentials' => [
'key' => getenv(S3__KEY),
'secret' => getenv(S3_SECRET)
],
'http' => [
'verify' => (bool) getenv(S3_HTTP_VERIFY),
'timeout' => getenv(S3_HTTP_TIMEOUT)
],
'version' => getenv(S3_VERSION)
], |