diff --git a/index.json b/index.json index 6413b2b..7ecb8aa 100644 --- a/index.json +++ b/index.json @@ -2,6 +2,9 @@ "recipes": { "webindustry/redirector-bundle": [ "2.0" + ], + "webindustry/image-bundle": [ + "2.0" ] }, "branch": "master", diff --git a/webindustry.image-bundle.2.0.json b/webindustry.image-bundle.2.0.json new file mode 100644 index 0000000..291539f --- /dev/null +++ b/webindustry.image-bundle.2.0.json @@ -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" + } + } +}