Recipe per document-bundle

This commit is contained in:
Giuseppe Fabiano
2024-04-02 16:46:06 +02:00
parent 9bd8791193
commit ce72174ee5
2 changed files with 56 additions and 0 deletions

View File

@@ -14,6 +14,9 @@
], ],
"webindustry/parameter-tracker-bundle": [ "webindustry/parameter-tracker-bundle": [
"2.0" "2.0"
],
"webindustry/document-bundle": [
"2.0"
] ]
}, },
"branch": "master", "branch": "master",

View 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"
}
}
}