Recipe per image-bundle

This commit is contained in:
Giuseppe Fabiano
2024-01-31 16:07:33 +01:00
parent cbe27ef18b
commit bff13d5de4
2 changed files with 44 additions and 0 deletions

View File

@@ -2,6 +2,9 @@
"recipes": {
"webindustry/redirector-bundle": [
"2.0"
],
"webindustry/image-bundle": [
"2.0"
]
},
"branch": "master",

View File

@@ -0,0 +1,41 @@
{
"manifests": {
"webindustry/image-bundle": {
"manifest": {
"bundles": {
"ImageBundle\\ImageBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
}
},
"files": {
"config/packages/image-bundle.yaml": {
"contents": [
"image:",
" image_types:",
" - { id: 'default', label: 'Default', allowed_mime: ['image/jpeg', 'image/png', 'image/webp'] }",
" image_sources:",
" - { id: 'default', label: 'Default' }",
" tag_types:",
" - { id: 'default', label: 'Default' }",
" s3:",
" region: eu-west-1",
" version: latest",
" bucket: bucket-name-here",
" key_prefix: images/",
" credentials:",
" key: ''",
" secret: ''",
" liip_imagine:",
" optimized_cache_resolvers: [ 's3' ]"
],
"executable": false
}
},
"ref": "0edeaced0bb450a4e48c96b1298b5a96c70a771b"
}
}
}