forked from PedroEscudero/search-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yml
77 lines (69 loc) · 2.21 KB
/
app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
bundles:
- Apisearch\Server\ApisearchServerBundle
- Apisearch\Plugin\Elastica\ElasticaPluginBundle
- Apisearch\Plugin\RedisStorage\RedisStoragePluginBundle
- Apisearch\Plugin\RSQueue\RSQueuePluginBundle
- Apisearch\Server\ApisearchPluginsBundle
- Apisearch\Plugin\ELK\ELKPluginBundle
routes:
- "@ApisearchServerBundle/Resources/config/routing.yml"
config:
imports:
- { resource: "@ApisearchServerBundle/Resources/config/tactician.yml"}
- { resource: "@ApisearchServerBundle/app_deploy.yml", ignore_errors: true }
parameters:
kernel.secret: nsdjkfhdsupoifjñksd
framework:
form: false
assets: false
session: false
php_errors:
log: true
# config/services.yaml
services:
_defaults:
autowire: false
autoconfigure: false
public: true
monolog:
handlers:
main:
type: stream
path: '%kernel.logs_dir%/%kernel.environment%.log'
level: debug
#
# Elastica plugin for Apisearch
#
# Configure your elasticsearch cluster and the way your indices are
# created
#
elastica_plugin:
repository_config_path: '/tmp/config_{app_id}_{index_id}'
cluster:
docker_elasticsearch_service:
host: "%env(ELASTICSEARCH_HOST)%"
port: "%env(ELASTICSEARCH_PORT)%"
apisearch:
load_commands: false
repositories:
main:
adapter: service
search:
repository_service: "apisearch_server.items_repository"
app:
repository_service: "apisearch_server.app_repository"
user:
repository_service: "apisearch_server.user_repository"
indexes:
default: default
#
# Enable for custom HTTP endpoint
#
# remote:
# adapter: http
# endpoint: __endpoint__
# app_id: __app_id__
# token: __token__
# indexes:
# default: __default_index__
#