mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 08:36:34 +03:00
added environment variables and changed connection client
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Read the documentation: https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/Resources/doc/setup.md
|
||||
fos_elastica:
|
||||
clients:
|
||||
default: { host: localhost, port: 9200 }
|
||||
default: { url: '%env(ELASTICSEARCH_URL)%' }
|
||||
indexes:
|
||||
app: null
|
||||
|
||||
@@ -4,5 +4,8 @@
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"ELASTICSEARCH_URL": "http://localhost:9200/"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user