-
Notifications
You must be signed in to change notification settings - Fork 150
/
Copy pathdefaults.xml
41 lines (33 loc) · 2.19 KB
/
defaults.xml
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
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="jwt_private_key_passphrase_default">shopware</parameter>
<parameter key="default_whitespace"> </parameter>
<parameter key="default_elasticsearch_prefix">sw</parameter>
<parameter key="elasticsearch.enabled">%env(bool:default:default_whitespace:SHOPWARE_ES_ENABLED)%</parameter>
<parameter key="elasticsearch.indexing_enabled">%env(bool:default:default_whitespace:SHOPWARE_ES_INDEXING_ENABLED)%</parameter>
<parameter key="elasticsearch.hosts">%env(string:default:default_whitespace:SHOPWARE_ES_HOSTS)%</parameter>
<parameter key="elasticsearch.index_prefix">%env(string:default:default_elasticsearch_prefix:SHOPWARE_ES_INDEX_PREFIX)%</parameter>
<parameter key="shopware.store.frw">true</parameter>
<parameter key="default_cdn_strategy">physical_filename</parameter>
<parameter key="shopware.cdn.strategy">%env(default:default_cdn_strategy:SHOPWARE_CDN_STRATEGY_DEFAULT)%</parameter>
<parameter key="env(INSTANCE_ID)">install</parameter>
</parameters>
<services>
<service class="League\OAuth2\Server\CryptKey" id="shopware.private_key">
<argument>%kernel.project_dir%/config/jwt/private.pem</argument>
<argument>%env(string:default:jwt_private_key_passphrase_default:JWT_PRIVATE_KEY_PASSPHRASE)%</argument>
</service>
<service class="League\OAuth2\Server\CryptKey" id="shopware.public_key">
<argument>%kernel.project_dir%/config/jwt/public.pem</argument>
</service>
<service id="_dummy_env_usage" class="iterable" lazy="true">
<argument>%env(bool:SHOPWARE_ES_ENABLED)%</argument>
<argument>%env(bool:SHOPWARE_ES_INDEXING_ENABLED)%</argument>
<argument>%env(SHOPWARE_ES_HOSTS)%</argument>
<argument>%env(SHOPWARE_ES_INDEX_PREFIX)%</argument>
</service>
</services>
</container>