yroot/neos-image-optimizer

Neos Image Optimizer

安装: 10

依赖: 0

建议: 0

安全: 0

星级: 0

分支: 0

类型:neos-package

dev-master 2018-03-16 17:56 UTC

This package is auto-updated.

Last update: 2024-09-17 10:26:22 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 Adaptor