forked from ezsystems/ezplatform-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_parameters.yml
143 lines (101 loc) · 5.59 KB
/
default_parameters.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# This file contains defaults for optional parameters, which you can override in parameters.yml
parameters:
locale_fallback: en
# A secret key that's used to generate certain security-related tokens
secret: '%env(SYMFONY_SECRET)%'
# Settings for database backend used by Doctrine DBAL
# In turn used for default storage engine & default search engine (if legacy is configured as search engine)
database_driver: '%env(DATABASE_DRIVER)%'
database_host: '%env(DATABASE_HOST)%'
database_port: '%env(DATABASE_PORT)%'
database_name: '%env(DATABASE_NAME)%'
database_user: '%env(DATABASE_USER)%'
database_password: '%env(DATABASE_PASSWORD)%'
# Setting for mail system, used by SwiftMailer
mailer_host: '%env(MAILER_HOST)%'
mailer_user: '%env(MAILER_USER)%'
mailer_password: '%env(MAILER_PASSWORD)%'
# One of `legacy` (default) or `solr`
search_engine: '%env(SEARCH_ENGINE)%'
# Solr root endpoint, relevant if `solr` is set as search_engine
solr_dsn: '%env(SOLR_DSN)%'
solr_core: '%env(SOLR_CORE)%'
# Log path, where to store the log files. php://stderr may be used in order to log to standard error
log_path: '%env(LOG_PATH)%'
# Settings for Cache pool, to change add own cache service and optionally inject own arguments
# predefined pools: see symfony config and the optional pools in app/config/cache_pool/
cache_pool: '%env(CACHE_POOL)%'
# Cache DSN, see app/config/services/cache.yml for examples:
cache_dsn: '%env(CACHE_DSN)%'
# Cache namespace prefix for use with Redis/Memcached, 'ez' by default.
# For further info incl alternatives for "blue/green deployment" and multi repo installs, see: app/config/cache_pool/*.yml
cache_namespace: '%env(CACHE_NAMESPACE)%'
# Settings for HttpCache
purge_server: '%env(HTTPCACHE_PURGE_SERVER)%'
# By default cache ttl is set to 24h, when using Varnish you can set a much higher value. High values depends on
# using EzSystemsPlatformHttpCacheBundle (default as of v1.12) which by design expires affected cache on changes
httpcache_default_ttl: '%env(HTTPCACHE_DEFAULT_TTL)%'
# Session save path as used by symfony session handlers (eg. used for dsn with redis)
ezplatform.session.save_path: '%env(SESSION_SAVE_PATH)%'
# Recommendation Bundle params
ez_recommendation.default.yoochoose.customer_id: '%env(RECOMMENDATIONS_CUSTOMER_ID)%'
ez_recommendation.default.yoochoose.license_key: '%env(RECOMMENDATIONS_LICENSE_KEY)%'
ez_recommendation.default.server_uri: '%env(PUBLIC_SERVER_URI)%'
# Fallback values for when environment variables do not exist
env(MAILER_HOST): 127.0.0.1
env(MAILER_USER): ~
env(MAILER_PASSWORD): ~
env(SEARCH_ENGINE): legacy
env(SOLR_DSN): http://localhost:8983/solr
env(SOLR_CORE): collection1
env(LOG_PATH): "%kernel.logs_dir%/%kernel.environment%.log"
env(CACHE_POOL): "cache.app"
env(CACHE_DSN): localhost
env(CACHE_NAMESPACE): ez
env(HTTPCACHE_PURGE_SERVER): "http://localhost:80"
env(HTTPCACHE_DEFAULT_TTL): 86400
env(SESSION_SAVE_PATH): '%kernel.project_dir%/var/sessions/%kernel.environment%'
env(RECOMMENDATIONS_CUSTOMER_ID): ~
env(RECOMMENDATIONS_LICENSE_KEY): ~
env(PUBLIC_SERVER_URI): ~
# Compile time handlers
## These are defined at compile time, and hence can't be set at runtime using env()
## app/config/env/generic.php takes care about letting you set them by env variables
## Log type is one of "stream", "error_log" or other types supported by monolog
# env: LOG_TYPE
log_type: stream
## Mail transport used by SwiftMailer
# env: MAILER_TRANSPORT
mailer_transport: smtp
## Purge type used by HttpCache system ("local", "varnish"/"http", and on ee also "fastly")
# env: HTTPCACHE_PURGE_TYPE
purge_type: local
## Session handler, by default set to file based (instead of ~) in order to be able to use %ezplatform.session.save_path%
# env: SESSION_HANDLER_ID
ezplatform.session.handler_id: session.handler.native_file
# Admin siteaccess group name
admin_group_name: admin_group
# Top menu parameters
app.top_menu.parent_location_id: 2
app.top_menu.includedContentTypeIdentifier: ["folder", "article", "place_list", "product_list", "blog", "about"]
# Subscribe location id: 227 - demo, 228 - ee demo
ezsettings.default.app_subscribe_location_id: 227
# locationIds used for fetching items on home page
app.home.place_list_location_id: 223
app.home.tastes_location_id: 207
# Location Ids of allowed user groups for viewing Articles with premium content
# 12 - members, 13 administrator_users, 14 - editors
app.premium_content.allowed_user_groups.location_ids: [12, 13, 14]
app.migration_reference_file: '/src/AppBundle/MigrationVersions/References/references.yml'
app.migration.values_mapping:
app.home.place_list_location_id: 'ref_location_place_list__home__places_and_tastes__places'
app.home.tastes_location_id: 'ref_location_folder__home__places_and_tastes__tastes'
ezsettings.default.app_subscribe_location_id: 'ref_location_subscribe__home__subscribe'
# e-mail address used for form submission
app.contact_form.sender_email: no-reply@ez.no
# e-mail address used as a message recipient
app.contact_form.recipient_email: no-reply@ez.no
eztags.default.tag_view.pagelayout: '@@ezdesign/pagelayout.html.twig'
eztags.default.tag_view.template: '@@NetgenTags/tag/view.html.twig'
# EzPlatformAutomatedTranslation Google Api key
env(GOOGLE_TRANSLATE_API_KEY): ~