yroot/neos-openstack-swift

Neos OpenStack Swift 存储服务

安装: 475

依赖: 0

建议者: 0

安全性: 0

星标: 0

分支: 0

类型:neos-package

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

This package is auto-updated.

Last update: 2024-09-27 11:54:17 UTC


README

!!! 此插件尚未完全测试!!!

配置

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}'

感谢与致谢

本插件的基座是来自 Flownative 的 GCS 适配器