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