This commit is contained in:
Yassine Guedidi 2024-01-15 00:44:06 +01:00
parent 081cc371d4
commit 0d460f1ed8
2 changed files with 9 additions and 2 deletions

View file

@ -1,2 +1,2 @@
parameters: parameters:
database_path: "%kernel.project_dir%/data/db/wallabag%wallabag_dbname_suffix%.sqlite" env(DATABASE_URL): sqlite:///%kernel.project_dir%/data/db/wallabag%wallabag_dbname_suffix%.sqlite?charset=utf8

View file

@ -15,6 +15,13 @@ parameters:
# Allows to use the live reload feature for changes in assets # Allows to use the live reload feature for changes in assets
use_webpack_dev_server: false use_webpack_dev_server: false
craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter
when@dev:
parameters:
env(DATABASE_URL): '%database_scheme%://%database_user%:%database_password%@%database_host%:%database_port%/%database_name%?unix_socket=%database_socket%&charset=%database_charset%'
when@prod:
parameters:
env(DATABASE_URL): '%database_scheme%://%database_user%:%database_password%@%database_host%:%database_port%/%database_name%?unix_socket=%database_socket%&charset=%database_charset%' env(DATABASE_URL): '%database_scheme%://%database_user%:%database_password%@%database_host%:%database_port%/%database_name%?unix_socket=%database_socket%&charset=%database_charset%'
services: services: