* Add a recipe for coka/file-bundle

This commit is contained in:
Cedrick Oka Baidai
2019-03-09 20:01:48 +00:00
parent e48fc331d2
commit 6a15a49d67
2 changed files with 26 additions and 0 deletions
@@ -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
+13
View File
@@ -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"
}
}