Skip to content

An AmazonS3 backed cdn store for the content-services module

Notifications You must be signed in to change notification settings

souldigital/silverstripe-s3cdn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 CDN

Configuration

In your local configuration, specify something like

---
Name: locals3settings
After: 
  - '#s3services'
---
Injector:
  S3Service:
    constructor:
      key: {your_api_key}
      secret: {your_api_secret}
          region: {region}
  S3ContentReader:
    type: prototype
    properties:
      s3service: %$S3Service
      bucket: {your_bucket_name}
          baseUrl: {base_url_for_bucket}
  S3ContentWriter:
    type: prototype
    properties:
      s3service: %$S3Service
      bucket: {your_bucket_name}
          baseUrl: {base_url_for_bucket}
  ContentService:
    properties:
      stores:
        File:
          ContentReader: FileContentReader
          ContentWriter: FileContentWriter
        S3Bucket:
          ContentReader: S3ContentReader
          ContentWriter: S3ContentWriter

About

An AmazonS3 backed cdn store for the content-services module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%