Recipe per document-bundle
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
],
|
||||
"webindustry/parameter-tracker-bundle": [
|
||||
"2.0"
|
||||
],
|
||||
"webindustry/document-bundle": [
|
||||
"2.0"
|
||||
]
|
||||
},
|
||||
"branch": "master",
|
||||
|
||||
53
webindustry.document-bundle.2.0.json
Normal file
53
webindustry.document-bundle.2.0.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"manifests": {
|
||||
"webindustry/document-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"DocumentBundle\\DocumentBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/document-bundle.yaml": {
|
||||
"contents": [
|
||||
"document:",
|
||||
" document_types:",
|
||||
" - { id: 'manual', label: 'Manuale uso e manutenzione', allowed_mime: [ 'application/pdf' ] }",
|
||||
" tag_types:",
|
||||
" - { id: 'product', label: 'Prodotto' }",
|
||||
" - { id: 'family', label: 'Famiglia' }",
|
||||
" - { id: 'subfamily', label: 'Sottofamiglia' }",
|
||||
" languages:",
|
||||
" - { id: 'it', label: 'Italiano' }",
|
||||
" - { id: 'en', label: 'Inglese' }",
|
||||
" - { id: 'de', label: 'Tedesco' }",
|
||||
" thumbnails:",
|
||||
" allow_public_thumbnails: true",
|
||||
" ghostscript_bin: '/usr/bin/gs'",
|
||||
" sizes:",
|
||||
" - { id: 'small', label: 'Small', size: 64, format: 'png' }",
|
||||
" - { id: 'large', label: 'Large', size: 512, format: 'png' }",
|
||||
" s3:",
|
||||
" region: 'eu-west-1'",
|
||||
" bucket: 'changeme'",
|
||||
" key_prefix: 'document-bundle/'",
|
||||
" credentials:",
|
||||
" key: 'changeme'",
|
||||
" secret: 'changeme'",
|
||||
" sse_kms_key_id: 'xxxxxxx' # Optional, if set can not be empty",
|
||||
"",
|
||||
"parameters:",
|
||||
" document_bundle_secured_path: /intranet # move this to app_parameters.yaml",
|
||||
" document_bundle_api_path: /document-bundle-api # move this to app_parameters.yaml"
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "50022fd3b9a429bf28073ae5b4e627f2ea9fb71d"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user