Adapt doctrine config to DoctrineBundle 3 and add Redis env defaults
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2a0f079597
commit
54e6068af8
2 files changed
+8
-4
No files matched your search
@@ -77,6 +77,10 @@ ADD_ADDRESS_MAP_CENTER_Z=14
|
|||||||
RELATORIO_HOST=
|
RELATORIO_HOST=
|
||||||
RELATORIO_PORT=
|
RELATORIO_PORT=
|
||||||
WOPI_SERVER=http://${COLLABORA_HOST}:${COLLABORA_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 ###
|
###< chill-project/chill-bundles ###
|
||||||
|
|
||||||
###> symfony/ovh-cloud-notifier ###
|
###> symfony/ovh-cloud-notifier ###
|
||||||
|
|||||||
@@ -5,10 +5,12 @@ doctrine:
|
|||||||
# IMPORTANT: You MUST configure your server version,
|
# IMPORTANT: You MUST configure your server version,
|
||||||
# either here or in the DATABASE_URL env var (see .env file)
|
# either here or in the DATABASE_URL env var (see .env file)
|
||||||
#server_version: '16'
|
#server_version: '16'
|
||||||
use_savepoints: true
|
profiling_collect_backtrace: '%kernel.debug%'
|
||||||
orm:
|
orm:
|
||||||
auto_generate_proxy_classes: true
|
validate_xml_mapping: true
|
||||||
naming_strategy: doctrine.orm.naming_strategy.default
|
naming_strategy: doctrine.orm.naming_strategy.default
|
||||||
|
identity_generation_preferences:
|
||||||
|
Doctrine\DBAL\Platforms\PostgreSQLPlatform: sequence
|
||||||
auto_mapping: true
|
auto_mapping: true
|
||||||
mappings:
|
mappings:
|
||||||
App:
|
App:
|
||||||
@@ -26,8 +28,6 @@ when@test:
|
|||||||
when@prod:
|
when@prod:
|
||||||
doctrine:
|
doctrine:
|
||||||
orm:
|
orm:
|
||||||
auto_generate_proxy_classes: false
|
|
||||||
proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'
|
|
||||||
query_cache_driver:
|
query_cache_driver:
|
||||||
type: pool
|
type: pool
|
||||||
pool: doctrine.system_cache_pool
|
pool: doctrine.system_cache_pool
|
||||||
|
|||||||
Reference in new issue
Block a user