diff --git a/.env b/.env index 15c0aab..760e6ad 100644 --- a/.env +++ b/.env @@ -77,6 +77,10 @@ ADD_ADDRESS_MAP_CENTER_Z=14 RELATORIO_HOST= RELATORIO_PORT= WOPI_SERVER=http://${COLLABORA_HOST}:${COLLABORA_PORT} +## Redis Cache & redis database +REDIS_HOST=redis +REDIS_PORT=6379 +REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT} ###< chill-project/chill-bundles ### ###> symfony/ovh-cloud-notifier ### diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 3c3be09..aa3ff4b 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -5,10 +5,12 @@ doctrine: # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file) #server_version: '16' - use_savepoints: true + profiling_collect_backtrace: '%kernel.debug%' orm: - auto_generate_proxy_classes: true + validate_xml_mapping: true naming_strategy: doctrine.orm.naming_strategy.default + identity_generation_preferences: + Doctrine\DBAL\Platforms\PostgreSQLPlatform: sequence auto_mapping: true mappings: App: @@ -26,8 +28,6 @@ when@test: when@prod: doctrine: orm: - auto_generate_proxy_classes: false - proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies' query_cache_driver: type: pool pool: doctrine.system_cache_pool