yroot/neos-openstack-swift

Neos OpenStack Swift Storage

Installs: 335

Dependents: 0

Suggesters: 0

Security: 0

Type:neos-package

v1.0.1 2020-06-27 01:55 UTC

This package is auto-updated.

Last update: 2022-01-27 05:59:03 UTC


README

!!! This plugin is not completely tested !!!

Configuration

Settings.yaml

Neos:
  Flow:
    resource:
      storages:
        swiftPersistentResourcesStorage:
          storage: 'Yroot\OpenStack\Swift\SwiftStorage'
          storageOptions:
            container: '{container}'
            #keyPrefix: '{keyPrefix}'

      collections:

      # Collection which contains all persistent resources
        persistent:
          storage: 'swiftPersistentResourcesStorage'
          target: 'swiftPersistentResourcesTarget'

      targets:
        localWebDirectoryPersistentResourcesTarget:
          target: 'Neos\Flow\ResourceManagement\Target\FileSystemTarget'
          targetOptions:
            path: '%FLOW_PATH_WEB%_Resources/Persistent/'
            baseUri: '_Resources/Persistent/'
            subdivideHashPathSegment: false

        swiftPersistentResourcesTarget:
          target: 'Yroot\OpenStack\Swift\SwiftTarget'
          targetOptions:
            container: '{container}'
            #keyPrefix: '{keyPrefix}'
            #baseUri: '{baseUri}'

Yroot:
  OpenStack:
    Swift:
      profiles:
        default:
          authUrl: '{authUrl}'
          region: '{region}'
          user:
            username: '{username}'
            password: '{password}'
          tenant:
            id: '{tenantId}'
            name: '{tenantName}'

Thanks & credits

The base for this plugin is the GCS Adaptor from Flownative!