yroot / neos-openstack-swift
Neos OpenStack Swift 存储服务
v1.0.1
2020-06-27 01:55 UTC
Requires
- guzzlehttp/psr7: 1.*
- neos/flow: 4.* || 5.* || 6.* || dev-master
- php-opencloud/openstack: ~3.0
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 适配器!