From 6a15a49d674b166ca272d15a916aed3ffb89067d Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Sat, 9 Mar 2019 20:01:48 +0000 Subject: [PATCH] * Add a recipe for coka/file-bundle --- coka/file-bundle/3.0/config/packages/oka_file.yaml | 13 +++++++++++++ coka/file-bundle/3.0/manifest.json | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 coka/file-bundle/3.0/config/packages/oka_file.yaml create mode 100644 coka/file-bundle/3.0/manifest.json diff --git a/coka/file-bundle/3.0/config/packages/oka_file.yaml b/coka/file-bundle/3.0/config/packages/oka_file.yaml new file mode 100644 index 00000000..90ed93d1 --- /dev/null +++ b/coka/file-bundle/3.0/config/packages/oka_file.yaml @@ -0,0 +1,13 @@ +oka_file: + db_driver: orm + model_manager_name: ~ + storage: + root_path: '%env(OKAFILE_STORAGE_ROOT_PATH)%' + webserver: + scheme: http + host: '%env(OKAFILE_STORAGE_WEB_SERVER_HOST)%' + port: 80 + path: '/' + image: + dominant_color: true + diff --git a/coka/file-bundle/3.0/manifest.json b/coka/file-bundle/3.0/manifest.json new file mode 100644 index 00000000..819a632e --- /dev/null +++ b/coka/file-bundle/3.0/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "Oka\\FileBundle\\OkaFileBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OKAFILE_STORAGE_ROOT_PATH": "%kernel.project_dir%/public", + "OKAFILE_STORAGE_WEB_SERVER_HOST": "localhost" + } +} +