-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.yaml
35 lines (30 loc) · 1.13 KB
/
services.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
_defaults:
autowire: true
Aws\Credentials\Credentials:
arguments:
- "@=parameter('aws.s3.client.configs')['credentials']['key']"
- "@=parameter('aws.s3.client.configs')['credentials']['secret']"
- "@=parameter('aws.s3.client.configs')['credentials']['token']"
- "@=parameter('aws.s3.client.configs')['credentials']['expires']"
Aws\S3\S3Client:
arguments:
- {
credentials: "@Aws\\Credentials\\Credentials",
region: "@=parameter('aws.s3.client.configs')['region']",
version: "@=parameter('aws.s3.client.configs')['version']"
}
League\Flysystem\AwsS3V3\AwsS3V3Adapter:
arguments:
- "@Aws\\S3\\S3Client"
- "@=parameter('aws.s3.image.bucket')"
League\Flysystem\Filesystem:
arguments:
- "@League\\Flysystem\\AwsS3V3\\AwsS3V3Adapter"
- { visibility: "public" }
OxidEsales\EshopCommunity\Internal\Framework\FileSystem\ImageHandlerInterface:
class: OxidEsales\CloudStorageComponent\Service\ImageHandler
arguments:
- "@oxid_esales.symfony.file_system"
- "@League\\Flysystem\\Filesystem"
public: true