forked from pardahlman/docker-akeneo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
98 lines (90 loc) · 3.16 KB
/
config.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
imports:
- { resource: pim_parameters.yml }
- { resource: parameters.yml }
- { resource: security.yml }
- { resource: services.yml }
- { resource: '@PimEnrichBundle/Resources/config/pim.yml' }
framework:
#esi: ~
translator: { fallback: en }
secret: %secret%
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: "%kernel.debug%"
form: true
csrf_protection: true
validation:
enable_annotations: true
enabled: true
api: 2.5
templating: { engines: ['twig', 'php'] } #assets_version: SomeVersionScheme
default_locale: "%locale%"
trusted_proxies: ~
session:
name: BAPID
handler_id: session.handler.pdo
gc_maxlifetime: 3600
fragments:
enabled: true
path: /_fragment # used for controller action in template
serializer:
enabled: true
http_method_override: true
# Twig Configuration
twig:
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"
globals:
uservoice_key: %uservoice_key%
# Assetic Configuration
assetic:
debug: "%kernel.debug%"
use_controller: false
filters:
cssrewrite: ~
# Doctrine Configuration
doctrine:
dbal:
default_connection: default
connections:
default:
driver: "%database_driver%"
host: "%database_host%"
port: "%database_port%"
unix_socket: "%database_unix_socket%"
dbname: "%database_name%"
user: "%database_user%"
password: "%database_password%"
charset: UTF8
session:
driver: "%database_driver%"
host: "%database_host%"
port: "%database_port%"
unix_socket: "%database_unix_socket%"
dbname: "%database_name%"
user: "%database_user%"
password: "%database_password%"
charset: UTF8
types:
datetime: Akeneo\Bundle\StorageUtilsBundle\Doctrine\DBAL\Types\UTCDateTimeType
orm:
auto_generate_proxy_classes: "%kernel.debug%"
auto_mapping: true
# Swiftmailer Configuration
swiftmailer:
transport: "%mailer_transport%"
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
spool: { type: memory }
# FOSOAuthServer Configuration
fos_oauth_server:
db_driver: orm
client_class: Pim\Bundle\ApiBundle\Entity\Client
access_token_class: Pim\Bundle\ApiBundle\Entity\AccessToken
refresh_token_class: Pim\Bundle\ApiBundle\Entity\RefreshToken
auth_code_class: Pim\Bundle\ApiBundle\Entity\AuthCode
service:
user_provider: pim_user.provider.user
pim_reference_data: ~
akeneo_storage_utils: ~