mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
* Add a recipe for coka/file-bundle
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user