diff --git a/mezcalito/imgproxy-bundle/0.5/config/packages/imgproxy.yaml b/mezcalito/imgproxy-bundle/0.5/config/packages/imgproxy.yaml new file mode 100644 index 000000000..370572857 --- /dev/null +++ b/mezcalito/imgproxy-bundle/0.5/config/packages/imgproxy.yaml @@ -0,0 +1,5 @@ +imgproxy: + host: '%env(IMGPROXY_HOST)%' + signature: + key: '%env(IMGPROXY_KEY)%' + salt: '%env(IMGPROXY_SALT)%' diff --git a/mezcalito/imgproxy-bundle/0.5/manifest.json b/mezcalito/imgproxy-bundle/0.5/manifest.json new file mode 100644 index 000000000..766d848fd --- /dev/null +++ b/mezcalito/imgproxy-bundle/0.5/manifest.json @@ -0,0 +1,14 @@ +{ + "bundles": { + "Mezcalito\\ImgproxyBundle\\ImgproxyBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Configure the key and salt for your imgproxy instance (https://docs.imgproxy.net/signing_the_url)", + "#2": "IMGPROXY_HOST=http://localhost", + "#3": "IMGPROXY_KEY=", + "#4": "IMGPROXY_SALT=" + } +}