mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-04-21 05:49:35 +00:00
Added an environment for the demo
In this environment the exception are logged to stderr, so we can access it via heroku.
This commit is contained in:
parent
01a83d388b
commit
368645f0cb
3 changed files with 56 additions and 1 deletions
32
config/packages/demo/doctrine.yaml
Normal file
32
config/packages/demo/doctrine.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
doctrine:
|
||||
orm:
|
||||
auto_generate_proxy_classes: false
|
||||
metadata_cache_driver:
|
||||
type: service
|
||||
id: doctrine.system_cache_provider
|
||||
query_cache_driver:
|
||||
type: service
|
||||
id: doctrine.system_cache_provider
|
||||
result_cache_driver:
|
||||
type: service
|
||||
id: doctrine.result_cache_provider
|
||||
|
||||
services:
|
||||
doctrine.result_cache_provider:
|
||||
class: Symfony\Component\Cache\DoctrineProvider
|
||||
public: false
|
||||
arguments:
|
||||
- '@doctrine.result_cache_pool'
|
||||
doctrine.system_cache_provider:
|
||||
class: Symfony\Component\Cache\DoctrineProvider
|
||||
public: false
|
||||
arguments:
|
||||
- '@doctrine.system_cache_pool'
|
||||
|
||||
framework:
|
||||
cache:
|
||||
pools:
|
||||
doctrine.result_cache_pool:
|
||||
adapter: cache.app
|
||||
doctrine.system_cache_pool:
|
||||
adapter: cache.system
|
||||
Loading…
Add table
Add a link
Reference in a new issue