Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

how to configure AWS S3 #142

Open
austinPatel opened this issue Nov 5, 2018 · 1 comment
Open

how to configure AWS S3 #142

austinPatel opened this issue Nov 5, 2018 · 1 comment

Comments

@austinPatel
Copy link

gaufrette:
service_name:
- amazon_backup_filesystem # what should be here
- local_backup_filesystem

Please Support ,i am new in symfony

@Alex-Bruno
Copy link

Hi,
https://github.com/KnpLabs/KnpGaufretteBundle
Example:
services:
acme.aws_s3.client:
class: Aws\S3\S3Client
factory: [Aws\S3\S3Client, 'factory']
arguments:
-
version: latest
region: %aws_s3_region%
credentials:
key: %aws_s3_key%
secret: %aws_s3_secret%

knp_gaufrette:
adapters:
backup:
aws_s3:
service_id: 'acme.aws_s3.client'
bucket_name: %aws_s3_bucket%
#detect_content_type: true
options:
directory: %aws_s3_directory%
create: true
filesystems:
backup:
adapter: backup
alias: backup_filesystem

dizda_cloud_backup:
cloud_storages:
gaufrette:
service_name: # Gaufrette filesystem(s) service name
- backup_filesystem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants